Index: third_party/WebKit/Source/core/fetch/ResourceClient.h |
diff --git a/third_party/WebKit/Source/core/fetch/ResourceClient.h b/third_party/WebKit/Source/core/fetch/ResourceClient.h |
index bdd9587a1b87ce94a5aef7933c619b99e91c6cdc..c33a0d07b1c5d43b6d428aff802653bae45360f7 100644 |
--- a/third_party/WebKit/Source/core/fetch/ResourceClient.h |
+++ b/third_party/WebKit/Source/core/fetch/ResourceClient.h |
@@ -26,14 +26,14 @@ |
#define ResourceClient_h |
#include "core/CoreExport.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
class Resource; |
-// TODO(Oilpan): Move ResourceClient to Oilpan's heap. |
-class CORE_EXPORT ResourceClient { |
+class CORE_EXPORT ResourceClient : public GarbageCollectedMixin { |
public: |
enum ResourceClientType { |
BaseResourceType, |
@@ -53,6 +53,8 @@ public: |
// Name for debugging, e.g. shown in memory-infra. |
virtual String debugName() const = 0; |
+ DEFINE_INLINE_VIRTUAL_TRACE() {} |
+ |
protected: |
ResourceClient() { } |
}; |