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

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

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)
Patch Set: Use uppercase-initial format for RuntimeEnabledFeature due to another patch that was landed earlier… Created 3 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
Index: third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp
index 0580541fc8b74562ddddfafed07175c346b2a066..e4810d5954fd7212186b798ce7444956c6bce9ae 100644
--- a/third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp
@@ -240,6 +240,10 @@ void WebRuntimeFeatures::EnableScriptedSpeech(bool enable) {
RuntimeEnabledFeatures::SetScriptedSpeechEnabled(enable);
}
+void WebRuntimeFeatures::EnableSkipCompositingSmallScrollers(bool enable) {
+ RuntimeEnabledFeatures::SetSkipCompositingSmallScrollersEnabled(enable);
+}
+
void WebRuntimeFeatures::EnableSlimmingPaintV2(bool enable) {
RuntimeEnabledFeatures::SetSlimmingPaintV2Enabled(enable);
}

Powered by Google App Engine
This is Rietveld 408576698