| Index: tools/clang/blink_gc_plugin/tests/destructor_access_finalized_field.h
|
| diff --git a/tools/clang/blink_gc_plugin/tests/destructor_access_finalized_field.h b/tools/clang/blink_gc_plugin/tests/destructor_access_finalized_field.h
|
| index 232eb08218f3f4dc64467296bb7781393dd2a066..4c721568aa6a0f34d7f3ca6c12d9cd9a5bbbc50a 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/destructor_access_finalized_field.h
|
| +++ b/tools/clang/blink_gc_plugin/tests/destructor_access_finalized_field.h
|
| @@ -14,6 +14,19 @@ public:
|
| bool foo() { return true; }
|
| };
|
|
|
| +class HeapObject;
|
| +
|
| +class PartOther {
|
| + ALLOW_ONLY_INLINE_ALLOCATION();
|
| +public:
|
| + void trace(Visitor*);
|
| +
|
| + HeapObject* obj() { return m_obj; }
|
| +
|
| +private:
|
| + Member<HeapObject> m_obj;
|
| +};
|
| +
|
| class HeapObject : public GarbageCollectedFinalized<HeapObject> {
|
| public:
|
| ~HeapObject();
|
| @@ -24,6 +37,7 @@ private:
|
| RefPtr<Other> m_ref;
|
| Member<HeapObject> m_obj;
|
| Vector<Member<HeapObject> > m_objs;
|
| + PartOther m_part;
|
| };
|
|
|
| }
|
|
|