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

Unified Diff: Source/core/fetch/ResourceClient.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/core/fetch/ResourceClient.h
diff --git a/Source/core/fetch/ResourceClient.h b/Source/core/fetch/ResourceClient.h
index 16112d2cbd411e272f9f54324013cef2289a691f..28b1738c3249824750a8df8120c836f8d483a76f 100644
--- a/Source/core/fetch/ResourceClient.h
+++ b/Source/core/fetch/ResourceClient.h
@@ -25,6 +25,7 @@
#ifndef ResourceClient_h
#define ResourceClient_h
+#include "platform/heap/Handle.h"
Mads Ager (chromium) 2014/08/12 06:07:04 You should be able to just forward declare Visitor
haraken 2014/08/12 06:15:50 I don't have a strong opinion here, but I guess th
#include "wtf/FastAllocBase.h"
#include "wtf/Forward.h"
@@ -48,6 +49,8 @@ public:
static ResourceClientType expectedType() { return BaseResourceType; }
virtual ResourceClientType resourceClientType() const { return expectedType(); }
+ virtual void trace(Visitor*) { }
+
protected:
ResourceClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698