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

Unified Diff: Source/platform/LifecycleContext.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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: Source/platform/LifecycleContext.h
diff --git a/Source/platform/LifecycleContext.h b/Source/platform/LifecycleContext.h
index c7f1ae0af5f0aeac633bb590bbd864807d5b8ad5..5d9594c64516433048e1932ab73ef988ede08786 100644
--- a/Source/platform/LifecycleContext.h
+++ b/Source/platform/LifecycleContext.h
@@ -30,6 +30,7 @@
#include "platform/LifecycleNotifier.h"
#include "platform/LifecycleObserver.h"
+#include "platform/heap/Handle.h"
Mads Ager (chromium) 2014/08/12 06:07:04 Forward declare instead of include?
#include "wtf/HashSet.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -53,6 +54,8 @@ public:
// Called from the destructor of observers.
void wasUnobservedBy(Observer*);
+ virtual void trace(Visitor*) { }
+
protected:
Notifier& lifecycleNotifier();

Powered by Google App Engine
This is Rietveld 408576698