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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp

Issue 2688653002: Implement OnPurgeMemory callback for RenderThreadImpl (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/exported/WebMemoryCoordinator.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp b/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
index f1ba1a890fb8457a5e30583da1a4916ef47c28ba..e172107272025e4c8d75318f6e3bfedb64a73a62 100644
--- a/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
@@ -17,4 +17,8 @@ void WebMemoryCoordinator::onMemoryStateChange(MemoryState state) {
MemoryCoordinator::instance().onMemoryStateChange(state);
}
+void WebMemoryCoordinator::onPurgeMemory() {
+ MemoryCoordinator::instance().onPurgeMemory();
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/MemoryCoordinator.cpp ('k') | third_party/WebKit/public/platform/WebMemoryCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698