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

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

Issue 2551293002: Add a new flag for slimming paint invalidation (Closed)
Patch Set: Update histograms.xml Created 4 years 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 | « content/public/common/content_switches.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index cdfd51eddeb81585cff2aa6cd6d3c3d42dd8eb3e..284ccfd4dbefe5a92a858be8e8f91c4631a4f2d4 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -234,6 +234,10 @@ void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable) {
RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable);
}
+void WebRuntimeFeatures::enableSlimmingPaintInvalidation(bool enable) {
+ RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled(enable);
+}
+
void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable) {
RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable);
}
« no previous file with comments | « content/public/common/content_switches.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698