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

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

Issue 2402643002: Make RenderThreadImpl a client of memory coordinator (Closed)
Patch Set: Address on haraken's review Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/platform/MemoryCoordinator.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52d5cb4865bfa899c38098a527538d953bf2b43c..dd7efb80213d8115e5e421b176a8d6f863b5ef93 100644
--- a/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
@@ -13,6 +13,10 @@ void WebMemoryCoordinator::onMemoryPressure(
MemoryCoordinator::instance().onMemoryPressure(pressureLevel);
}
+void WebMemoryCoordinator::onMemoryStateChange(MemoryState state) {
+ MemoryCoordinator::instance().onMemoryStateChange(state);
+}
+
void WebMemoryCoordinator::prepareToSuspend() {
MemoryCoordinator::instance().prepareToSuspend();
}
« no previous file with comments | « third_party/WebKit/Source/platform/MemoryCoordinator.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698