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

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

Issue 2475293003: [RemotePlayback] No monitoring on low-end devices (Closed)
Patch Set: Rebase on MC change Created 4 years, 1 month 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.cpp
diff --git a/third_party/WebKit/Source/platform/MemoryCoordinator.cpp b/third_party/WebKit/Source/platform/MemoryCoordinator.cpp
index 68cea3f2dcf9b655e2685338e1baf2fb79920b27..001b2072776c65378605536cee685e9cc0df0d81 100644
--- a/third_party/WebKit/Source/platform/MemoryCoordinator.cpp
+++ b/third_party/WebKit/Source/platform/MemoryCoordinator.cpp
@@ -59,6 +59,10 @@ void MemoryCoordinator::clearMemory() {
FontCache::fontCache()->invalidate();
}
+void MemoryCoordinator::setIsLowEndDeviceForTesting(bool isLowEndDevice) {
+ m_isLowEndDevice = isLowEndDevice;
+}
+
DEFINE_TRACE(MemoryCoordinator) {
visitor->trace(m_clients);
}

Powered by Google App Engine
This is Rietveld 408576698