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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index fb9a34f5acf087a12026aab1aa6ad1be764b2d26..5a95a4460cea659ce323f79d3d06cb3623f60899 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -3084,4 +3084,8 @@ void Internals::crash() {
CHECK(false) << "Intentional crash";
}
+void Internals::setIsLowEndDevice(bool isLowEndDevice) {
+ MemoryCoordinator::instance().setIsLowEndDeviceForTesting(isLowEndDevice);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698