Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 873f2c9d18c197bfc2c1b3281f26d9ebce6e0616..9bb94eee63767bb57def52fec90ea4ab0d25bda4 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -150,6 +150,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (ui::IsOverlayScrollbarEnabled()) |
WebRuntimeFeatures::enableOverlayScrollbars(true); |
+ if (ui::ShouldHideScrollbars()) |
+ WebRuntimeFeatures::enableHideScrollbars(true); |
if (command_line.HasSwitch(switches::kEnablePreciseMemoryInfo)) |
WebRuntimeFeatures::enablePreciseMemoryInfo(true); |