Index: chrome/browser/browser_main.cc |
=================================================================== |
--- chrome/browser/browser_main.cc (revision 90370) |
+++ chrome/browser/browser_main.cc (working copy) |
@@ -1381,6 +1381,8 @@ |
#endif |
#if defined(TOOLKIT_VIEWS) |
+ views::Widget::SetPureViews( |
+ CommandLine::ForCurrentProcess()->HasSwitch(switches::kUsePureViews)); |
// Launch the views desktop shell window and register it as the default parent |
// for all unparented views widgets. |
if (parsed_command_line.HasSwitch(switches::kViewsDesktop)) { |
@@ -1793,11 +1795,6 @@ |
CommandLine::ForCurrentProcess()->HasSwitch(switches::kKeepMouseCursor)); |
#endif |
-#if defined(TOOLKIT_VIEWS) |
- views::Widget::SetPureViews( |
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kUsePureViews)); |
-#endif |
- |
HandleTestParameters(parsed_command_line); |
RecordBreakpadStatusUMA(metrics); |
about_flags::RecordUMAStatistics(local_state); |