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

Unified Diff: content/child/runtime_features.cc

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: replace viewport test b/c overlay bars are hidden in layout tests. Created 4 years, 3 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 44a0a8a4b45185e028c0c3b6dba8f796ea31ba87..a2479b11debb7c9ba7ac63088c3a357a07d08f87 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -159,8 +159,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (ui::IsOverlayScrollbarEnabled())
WebRuntimeFeatures::enableOverlayScrollbars(true);
- if (ui::ShouldHideScrollbars())
- WebRuntimeFeatures::enableHideScrollbars(true);
if (command_line.HasSwitch(switches::kEnablePreciseMemoryInfo))
WebRuntimeFeatures::enablePreciseMemoryInfo(true);

Powered by Google App Engine
This is Rietveld 408576698