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

Unified Diff: third_party/WebKit/Source/platform/MemoryPurgeController.h

Issue 1860903002: Update Source/platform/ to assume Oilpan only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back out ScrollAnimatorMac() accidental change Created 4 years, 8 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/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)
{
« no previous file with comments | « third_party/WebKit/Source/platform/AsyncMethodRunner.h ('k') | third_party/WebKit/Source/platform/MemoryPurgeController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698