Index: chrome/browser/ui/views/frame/browser_frame_aura.cc |
diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc |
index d418f722f66a2ef07717b1cffa5d6a95b8bfc4c5..9a06f0e82435901f8e3f965d21bda37f45793679 100644 |
--- a/chrome/browser/ui/views/frame/browser_frame_aura.cc |
+++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc |
@@ -165,7 +165,8 @@ BrowserFrameAura::BrowserFrameAura(BrowserFrame* browser_frame, |
: views::NativeWidgetAura(browser_frame), |
browser_view_(browser_view), |
browser_frame_(browser_frame) { |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAuraWindows)) { |
+ CommandLine* command_line = CommandLine::ForCurrentProcess(); |
+ if (command_line->HasSwitch(switches::kAuraTranslucentFrames)) { |
// Aura paints layers behind this view, so this must be a layer also. |
// TODO: see if we can avoid this, layers are expensive. |
browser_view_->SetPaintToLayer(true); |