Index: tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.h |
diff --git a/tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.h b/tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.h |
index 55449cb2378c64df8b94bba6e9171999ed9d3e53..3c6f86869752c181f54893957ff7a2f59e1f8a71 100644 |
--- a/tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.h |
+++ b/tools/clang/blink_gc_plugin/tests/garbage_collected_mixin.h |
@@ -11,7 +11,7 @@ namespace blink { |
class Mixin : public GarbageCollectedMixin { |
public: |
- void trace(Visitor*); |
+ virtual void trace(Visitor*) override; |
private: |
Member<Mixin> m_self; |
}; |
@@ -19,7 +19,7 @@ private: |
class HeapObject : public GarbageCollected<HeapObject>, public Mixin { |
USING_GARBAGE_COLLECTED_MIXIN(HeapObject); |
public: |
- void trace(Visitor*); |
+ virtual void trace(Visitor*) override; |
private: |
Member<Mixin> m_mix; |
}; |