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

Unified Diff: content/child/runtime_features.cc

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)
Patch Set: nit Created 3 years, 7 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: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 1f5cc79118efa616a1dfed1cf2af58104eaf2fff..9974c77428bd0a3123b21a535ed393509a777a4a 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -349,6 +349,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::EnableFeatureFromString("CompositeOpaqueScrollers",
false);
+ if (base::FeatureList::IsEnabled(features::kNotCompositeSmallScroller))
+ WebRuntimeFeatures::EnableNotCompositeSmallScroller(true);
+
if (base::FeatureList::IsEnabled(features::kGenericSensor))
WebRuntimeFeatures::EnableGenericSensor(true);

Powered by Google App Engine
This is Rietveld 408576698