aboutsummaryrefslogtreecommitdiff
path: root/tools/clang/blink_gc_plugin/tests/persistent_no_trace.h
blob: 761f16136cdf5e59884dd2efd47d1d522dce308d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef PERSISTENT_NO_TRACE_H_
#define PERSISTENT_NO_TRACE_H_

#include "heap/stubs.h"

namespace blink {

class HeapObject : public GarbageCollected<HeapObject> {
public:
    void Trace(Visitor*);
private:
    CrossThreadPersistent<HeapObject> m_crossThreadPersistent;
    CrossThreadWeakPersistent<HeapObject> m_crossThreadWeakPersistent;
};

}

#endif