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

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 Enne's comments. 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))
WebRuntimeFeatures::enableOverlayScrollbars(true);
}

Powered by Google App Engine
This is Rietveld 408576698