Index: tools/clang/blink_gc_plugin/tests/ref_ptr_to_gc_managed_class.h |
diff --git a/tools/clang/blink_gc_plugin/tests/ref_ptr_to_gc_managed_class.h b/tools/clang/blink_gc_plugin/tests/ref_ptr_to_gc_managed_class.h |
index 0dba31165bddff5ba03426e2172ef30fbcbcb928..405732eb8abfc9119396af6cdc42c2b3e14cf3e8 100644 |
--- a/tools/clang/blink_gc_plugin/tests/ref_ptr_to_gc_managed_class.h |
+++ b/tools/clang/blink_gc_plugin/tests/ref_ptr_to_gc_managed_class.h |
@@ -25,6 +25,14 @@ private: |
Vector<RefPtr<HeapObject> > m_objs; |
}; |
+class RefHeapObject : public RefCountedGarbageCollected<HeapObject> { |
+public: |
+ void trace(Visitor*); |
+private: |
+ PartObject m_part; |
+ Vector<RefPtr<RefHeapObject> > m_objs; |
+}; |
+ |
} |
#endif |