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

Unified Diff: content/child/runtime_features.cc

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/public/common/content_features.h » ('j') | content/public/common/content_features.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 93e9959605867515ad3876b276e4b24b994b134a..725b4c063b5ab898941c44d7d0e903859344f5eb 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -343,6 +343,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);
« no previous file with comments | « no previous file | content/public/common/content_features.h » ('j') | content/public/common/content_features.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698