Index: components/exo/shell_surface.cc |
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc |
index 88ef494767d236cbba231efaefa35248f21ade16..1535bac087c9561f9079fbeb6d3117872854a161 100644 |
--- a/components/exo/shell_surface.cc |
+++ b/components/exo/shell_surface.cc |
@@ -1667,13 +1667,14 @@ void ShellSurface::UpdateShadow() { |
widget_->non_client_view()->frame_view()->GetBoundsForClientView()); |
} |
+ shadow_underlay_->Show(); |
+ |
// TODO(oshima): Setting to the same value should be no-op. |
// crbug.com/642223. |
if (shadow_underlay_opacity != |
shadow_underlay_->layer()->GetTargetOpacity()) { |
shadow_underlay_->layer()->SetOpacity(shadow_underlay_opacity); |
} |
- shadow_underlay_->Show(); |
wm::Shadow* shadow = wm::ShadowController::GetShadowForWindow(window); |
// Maximized/Fullscreen window does not create a shadow. |