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

Unified Diff: content/child/runtime_features.cc

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments; plumb scrollbar color via flag. Created 7 years, 4 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 25804aeee0abc649017dd14d08224ce95536bc63..5575d5177e2b065bf25efd6fe096cd123a093bea 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -5,6 +5,7 @@
#include "content/child/runtime_features.h"
#include "base/command_line.h"
+#include "cc/base/switches.h"
#include "content/public/common/content_switches.h"
#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
@@ -136,7 +137,7 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (command_line.HasSwitch(switches::kEnableHTMLImports))
WebRuntimeFeatures::enableHTMLImports(true);
- if (command_line.HasSwitch(switches::kEnableOverlayScrollbars))
+ if (command_line.HasSwitch(cc::switches::kEnableOverlayScrollbars))
jamesr 2013/08/15 22:34:24 this is a bad change. cc::switches should only ch
wjmaclean 2013/08/16 13:34:16 OK. Is it preferable to add another, CC-specific f
WebRuntimeFeatures::enableOverlayScrollbars(true);
}

Powered by Google App Engine
This is Rietveld 408576698