| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index 32f789794c8211e15da2fb15f2f3b92dd3ff73e5..bbd3410ccdb1ceed028eaba53520bab417baff0a 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -584,8 +584,8 @@ views::NonClientFrameView* Shell::CreateDefaultNonClientFrameView(
|
| switches::kAuraGoogleDialogFrames)) {
|
| return new internal::DialogFrameView;
|
| }
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kAuraTranslucentFrames)) {
|
| + // Normal non-compact-mode gets translucent-style window frames for dialogs.
|
| + if (!IsWindowModeCompact()) {
|
| internal::CustomFrameViewAsh* frame_view = new internal::CustomFrameViewAsh;
|
| frame_view->Init(widget);
|
| return frame_view;
|
|
|