| 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 5faee08da69b78c01d694dfb5d41e2f5009102c6..37466ed7d3b7e2e60a6d87c7f520d5b4b28f8793 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| +++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| @@ -218,6 +218,11 @@ class GarbageCollectedMixin {
|
| virtual bool isAlive(Visitor*) const = 0;
|
| };
|
|
|
| +template<typename T>
|
| +struct TraceIfNeeded {
|
| + static void trace(Visitor*, T*);
|
| +};
|
| +
|
| // blink::ScriptWrappable receives special treatment
|
| // so as to allow it to be used together with GarbageCollected<T>,
|
| // even when its user-declared destructor is provided.
|
|
|