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

Unified Diff: ui/native_theme/native_theme.cc

Issue 11775007: Changed enable-new-menu-style flag to be on by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « ui/base/ui_base_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme.cc
diff --git a/ui/native_theme/native_theme.cc b/ui/native_theme/native_theme.cc
index b36c91477392fdfade804e61067592e777ad05e2..21071189ed6be06fb8dbdf2417ed90609b44ad88 100644
--- a/ui/native_theme/native_theme.cc
+++ b/ui/native_theme/native_theme.cc
@@ -23,8 +23,8 @@ void NativeTheme::SetScrollbarColors(unsigned inactive_color,
// static
bool NativeTheme::IsNewMenuStyleEnabled() {
static bool enable_new_menu_style =
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableNewMenuStyle);
+ !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableNewMenuStyle);
return enable_new_menu_style;
}
« no previous file with comments | « ui/base/ui_base_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698