Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: tools/clang/blink_gc_plugin/tests/heap/stubs.h

Issue 455263004: Blink GC plugin: Ensure that classes with virtual trace methods always have vtables for their left-… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/blink_gc_plugin/tests/heap/stubs.h
diff --git a/tools/clang/blink_gc_plugin/tests/heap/stubs.h b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
index 37466ed7d3b7e2e60a6d87c7f520d5b4b28f8793..7d646cdf85d2b4ee01beda24ded85b5ddef541eb 100644
--- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h
+++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
@@ -216,6 +216,7 @@ public:
class GarbageCollectedMixin {
virtual void adjustAndMark(Visitor*) const = 0;
virtual bool isAlive(Visitor*) const = 0;
+ virtual void trace(Visitor*) { }
};
template<typename T>

Powered by Google App Engine
This is Rietveld 408576698