| Index: tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.cpp
|
| diff --git a/tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.cpp b/tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e8f42f261d7a54156d0ad4a1a921f1190d9b0f34
|
| --- /dev/null
|
| +++ b/tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.cpp
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "garbage_collected_mixin.h"
|
| +
|
| +namespace blink {
|
| +
|
| +void Mixin::trace(Visitor* visitor)
|
| +{
|
| + // Missing: visitor->trace(m_self);
|
| +}
|
| +
|
| +void HeapObject::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_mix);
|
| + // Missing: Mixin::trace(visitor);
|
| +}
|
| +
|
| +}
|
|
|