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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceClient.h

Issue 2191633003: Move ResourceClient to Oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onheap-raw-resource-client
Patch Set: build fix Created 4 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: 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() { }
};

Powered by Google App Engine
This is Rietveld 408576698