| Index: chrome/browser/ui/views/constrained_window_views.cc
|
| diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
|
| index 6099e9cd4ba6ced123a962398282c50ac6a34d7c..d9ec2f4b6ad11e73d9f06ceab63c973926bb453f 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views.cc
|
| +++ b/chrome/browser/ui/views/constrained_window_views.cc
|
| @@ -46,7 +46,7 @@
|
| #include "ui/views/widget/native_widget_win.h"
|
| #endif
|
|
|
| -#if defined(USE_AURA)
|
| +#if defined(USE_ASH)
|
| #include "ash/ash_switches.h"
|
| #include "ash/shell.h"
|
| #include "ash/wm/custom_frame_view_ash.h"
|
| @@ -627,7 +627,7 @@ gfx::NativeWindow ConstrainedWindowViews::GetNativeWindow() {
|
| // ConstrainedWindowViews, views::Widget overrides:
|
|
|
| views::NonClientFrameView* ConstrainedWindowViews::CreateNonClientFrameView() {
|
| -#if defined(USE_AURA)
|
| +#if defined(USE_ASH)
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| if (command_line->HasSwitch(ash::switches::kAuraGoogleDialogFrames))
|
| return ash::Shell::GetInstance()->CreateDefaultNonClientFrameView(this);
|
|
|