Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 4253a37caf19450bd583538567bf673d18236f2f..487fc375e170d4022cd337d57c1fdd0e932dcaaa 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -230,8 +230,8 @@ |
if (command_line.HasSwitch(switches::kEnableWebFontsInterventionTrigger)) |
WebRuntimeFeatures::enableWebFontsInterventionTrigger(true); |
- WebRuntimeFeatures::enableScrollAnchoring( |
- base::FeatureList::IsEnabled(features::kScrollAnchoring)); |
+ if (base::FeatureList::IsEnabled(features::kScrollAnchoring)) |
+ WebRuntimeFeatures::enableScrollAnchoring(true); |
if (command_line.HasSwitch(switches::kEnableSlimmingPaintV2)) |
WebRuntimeFeatures::enableSlimmingPaintV2(true); |