Index: ui/views/widget/widget_hwnd_utils.cc |
diff --git a/ui/views/widget/widget_hwnd_utils.cc b/ui/views/widget/widget_hwnd_utils.cc |
index 3b6f69dd7aa7d3fce7abdcd313db2350ae854689..40ccd29552927dc8837be01c5bfef377a3acbfb5 100644 |
--- a/ui/views/widget/widget_hwnd_utils.cc |
+++ b/ui/views/widget/widget_hwnd_utils.cc |
@@ -62,12 +62,8 @@ void CalculateWindowStylesFromInitParams( |
// 5- When the window is created but before it is presented, call |
// DwmExtendFrameIntoClientArea passing -1 as the margins. |
if (params.opacity == Widget::InitParams::TRANSLUCENT_WINDOW) { |
-#if defined(USE_AURA) |
if (ui::win::IsAeroGlassEnabled()) |
*ex_style |= WS_EX_COMPOSITED; |
-#else |
- *ex_style |= WS_EX_LAYERED; |
-#endif |
} |
if (params.has_dropshadow) { |
*class_style |= (base::win::GetVersion() < base::win::VERSION_XP) ? |