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

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

Issue 2689463002: Replace OnMemoryStateChange() with OnPurgeMemory() in blink (Closed)
Patch Set: Created 3 years, 10 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/MemoryCoordinator.h
diff --git a/third_party/WebKit/Source/platform/MemoryCoordinator.h b/third_party/WebKit/Source/platform/MemoryCoordinator.h
index 939c3cec6217b09231d218a9b5c6be35b0916c90..8e78cbd674868807208e974d76efb2d6119fc25d 100644
--- a/third_party/WebKit/Source/platform/MemoryCoordinator.h
+++ b/third_party/WebKit/Source/platform/MemoryCoordinator.h
@@ -22,6 +22,8 @@ class PLATFORM_EXPORT MemoryCoordinatorClient : public GarbageCollectedMixin {
virtual void onMemoryPressure(WebMemoryPressureLevel) {}
virtual void onMemoryStateChange(MemoryState) {}
+
+ virtual void onPurgeMemory() {}
};
// MemoryCoordinator listens to some events which could be opportunities
« no previous file with comments | « third_party/WebKit/Source/core/dom/PendingScript.cpp ('k') | third_party/WebKit/Source/platform/MemoryCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698