| Index: tools/clang/blink_gc_plugin/tests/stack_allocated.h
|
| diff --git a/tools/clang/blink_gc_plugin/tests/stack_allocated.h b/tools/clang/blink_gc_plugin/tests/stack_allocated.h
|
| index 574219c594cf92c9f7035b7dfc05d856fd26726d..50a4632a987270865964e6a61fe6de6fe52014c2 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/stack_allocated.h
|
| +++ b/tools/clang/blink_gc_plugin/tests/stack_allocated.h
|
| @@ -19,6 +19,10 @@ private:
|
|
|
| class StackObject {
|
| STACK_ALLOCATED();
|
| +
|
| + // Redundant trace() method, warning/error expected.
|
| + void Trace(Visitor* visitor) { visitor->Trace(m_obj); }
|
| +
|
| private:
|
| Member<HeapObject> m_obj; // Does not need tracing.
|
| };
|
|
|