Index: third_party/WebKit/Source/platform/MemoryPurgeController.h |
diff --git a/third_party/WebKit/Source/platform/MemoryPurgeController.h b/third_party/WebKit/Source/platform/MemoryPurgeController.h |
index c9e363cfc351203a627567ad7bcb4d1e430c39d8..d51f553d269ee4ea317fdd295f96203dbb92e3a5 100644 |
--- a/third_party/WebKit/Source/platform/MemoryPurgeController.h |
+++ b/third_party/WebKit/Source/platform/MemoryPurgeController.h |
@@ -36,16 +36,15 @@ public: |
// for reducing memory consumption and notifies its clients. |
// Since we want to control memory per tab, MemoryPurgeController is owned by |
// Page. |
-class PLATFORM_EXPORT MemoryPurgeController final : public GarbageCollectedFinalized<MemoryPurgeController> { |
+class PLATFORM_EXPORT MemoryPurgeController final : public GarbageCollected<MemoryPurgeController> { |
WTF_MAKE_NONCOPYABLE(MemoryPurgeController); |
public: |
static void onMemoryPressure(WebMemoryPressureLevel); |
- static RawPtr<MemoryPurgeController> create() |
+ static MemoryPurgeController* create() |
{ |
return new MemoryPurgeController; |
} |
- ~MemoryPurgeController(); |
void registerClient(MemoryPurgeClient* client) |
{ |