| Index: tools/clang/blink_gc_plugin/tests/cycle_ptrs.cpp
|
| diff --git a/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.cpp b/tools/clang/blink_gc_plugin/tests/cycle_ptrs.cpp
|
| similarity index 64%
|
| copy from tools/clang/blink_gc_plugin/tests/pure_virtual_trace.cpp
|
| copy to tools/clang/blink_gc_plugin/tests/cycle_ptrs.cpp
|
| index 0f7cb99f4772d0fb6585e032821da842595d5b0a..8fe7b955f3154aea864b2c3c1295374338554393 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.cpp
|
| +++ b/tools/clang/blink_gc_plugin/tests/cycle_ptrs.cpp
|
| @@ -2,13 +2,16 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "pure_virtual_trace.h"
|
| +#include "cycle_ptrs.h"
|
|
|
| namespace WebCore {
|
|
|
| -void C::trace(Visitor* visitor) {
|
| +void A::trace(Visitor* visitor) {
|
| + visitor->trace(m_b);
|
| +}
|
| +
|
| +void B::trace(Visitor* visitor) {
|
| visitor->trace(m_a);
|
| - // Is not required to trace base classes B and A.
|
| }
|
|
|
| }
|
|
|