1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WEAK_FIELDS_REQUIRE_TRACING_H_
6 #define WEAK_FIELDS_REQUIRE_TRACING_H_
8 #include "heap/stubs.h"
12 class HeapObject
: public GarbageCollected
<HeapObject
> {
15 void clearWeakMembers(Visitor
*);
17 Member
<HeapObject
> m_obj1
;
18 WeakMember
<HeapObject
> m_obj2
;
19 WeakMember
<HeapObject
> m_obj3
;
20 HeapHashSet
<WeakMember
<HeapObject
> > m_set1
;
21 HeapHashSet
<WeakMember
<HeapObject
> > m_set2
;