| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index 1041a3dca9a50ecf3f495b991bf89648d1935c41..f37f2f7f1d9e51db428304a0e4b6b32079de5d89 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -589,8 +589,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;
|
|
|