| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
|
| index 362df1effec991733e53cf7bd1431ef38836ca27..ad04667aaf831fc37f4c8420d142eced7b52b044 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
|
| @@ -20,7 +20,8 @@ BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
|
| return new PanelBrowserFrameView(
|
| frame, static_cast<PanelBrowserView*>(browser_view));
|
| }
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAuraWindows))
|
| + CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + if (command_line->HasSwitch(switches::kAuraTranslucentFrames))
|
| return new BrowserNonClientFrameViewAura(frame, browser_view);
|
| return new OpaqueBrowserFrameView(frame, browser_view);
|
| }
|
|
|