Index: tools/clang/blink_gc_plugin/tests/heap/stubs.h |
diff --git a/tools/clang/blink_gc_plugin/tests/heap/stubs.h b/tools/clang/blink_gc_plugin/tests/heap/stubs.h |
index 3220178c1422a972baf72c4b4db37b881b71ff5c..e8ff1b34b1e6b5adad4b17b141266261777eaec7 100644 |
--- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h |
+++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h |
@@ -220,7 +220,10 @@ public: |
class InlinedGlobalMarkingVisitor |
: public VisitorHelper<InlinedGlobalMarkingVisitor> { |
public: |
- InlinedGlobalMarkingVisitor* operator->() { return this; } |
+ InlinedGlobalMarkingVisitor* operator->() { return this; } |
+ |
+ template<typename T, void (T::*method)(Visitor*)> |
+ void registerWeakMembers(const T* obj); |
}; |
class GarbageCollectedMixin { |