Index: tools/clang/blink_gc_plugin/tests/cycle_sub.cpp |
diff --git a/tools/clang/blink_gc_plugin/tests/stack_allocated.cpp b/tools/clang/blink_gc_plugin/tests/cycle_sub.cpp |
similarity index 64% |
copy from tools/clang/blink_gc_plugin/tests/stack_allocated.cpp |
copy to tools/clang/blink_gc_plugin/tests/cycle_sub.cpp |
index e8a513435f7fdb5194dbaba7438288da6f0fbb0a..5c0d9e6768bed5b8a2d1a6855d9446208aa695ed 100644 |
--- a/tools/clang/blink_gc_plugin/tests/stack_allocated.cpp |
+++ b/tools/clang/blink_gc_plugin/tests/cycle_sub.cpp |
@@ -2,12 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "stack_allocated.h" |
+#include "cycle_sub.h" |
namespace WebCore { |
-void HeapObject::trace(Visitor* visitor) |
-{ |
+void B::trace(Visitor* visitor) { |
+ visitor->trace(m_c); |
+ A::trace(visitor); |
} |
} |