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

Unified Diff: content/child/runtime_features.cc

Issue 2930493002: Add CompositorTouchAction to RuntimeEnabledFeatures. (Closed)
Patch Set: Rebase - all the set functions are now capitalized 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
« no previous file with comments | « no previous file | content/public/common/content_features.h » ('j') | no next file with comments »
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 5282a4aa13c537cc513164a2cc0edc8a6acf1e88..c56132698cf7185ccd58e23d75e028f9dfa814af 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -345,6 +345,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (!base::FeatureList::IsEnabled(features::kCompositeOpaqueScrollers))
WebRuntimeFeatures::EnableFeatureFromString("CompositeOpaqueScrollers",
false);
+ if (base::FeatureList::IsEnabled(features::kCompositorTouchAction))
+ WebRuntimeFeatures::EnableCompositorTouchAction(true);
if (base::FeatureList::IsEnabled(features::kSkipCompositingSmallScrollers))
WebRuntimeFeatures::EnableSkipCompositingSmallScrollers(true);
« no previous file with comments | « no previous file | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698