Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 16512512a4c15a5d6080001864b686d32d67ec8d..1f4b010ace40b59727442f35072972441a0b35a7 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -78,6 +78,7 @@ |
#include "ui/aura/root_window.h" |
#include "ui/aura/ui_controls_aura.h" |
#include "ui/aura/window.h" |
+#include "ui/base/ui_base_switches.h" |
#include "ui/compositor/layer.h" |
#include "ui/compositor/layer_animator.h" |
#include "ui/gfx/display.h" |
@@ -629,7 +630,7 @@ bool Shell::IsSystemModalWindowOpen() const { |
views::NonClientFrameView* Shell::CreateDefaultNonClientFrameView( |
views::Widget* widget) { |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kAuraGoogleDialogFrames)) { |
+ ::switches::kEnableNewDialogStyle)) { |
return new internal::DialogFrameView; |
} |
// Use translucent-style window frames for dialogs. |