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

Unified Diff: third_party/WebKit/Source/web/WebMemoryCoordinator.cpp

Issue 2080813004: Move platform/MemoryPurgeController -> core/dom/MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to dom/ Created 4 years, 6 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/blink_platform.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
diff --git a/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp b/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
index aa1c71e1c2138a288346ad2209b949f357bc3f8a..225ee6b90a0ddd70b7ab4bfc33113644e8cef0ed 100644
--- a/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
+++ b/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
@@ -4,15 +4,14 @@
#include "public/web/WebMemoryCoordinator.h"
+#include "core/dom/MemoryCoordinator.h"
#include "core/page/Page.h"
-#include "platform/MemoryPurgeController.h"
namespace blink {
void WebMemoryCoordinator::onMemoryPressure(WebMemoryPressureLevel pressureLevel)
{
- Page::onMemoryPressure();
- MemoryPurgeController::onMemoryPressure(pressureLevel);
+ MemoryCoordinator::instance().onMemoryPressure(pressureLevel);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698