| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index b4f27fa828e643af75e1f3e6b7a9f577a5a4b8a0..0cd949c193c657879da65ee68c4b619c75fbfb74 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -1415,7 +1415,7 @@ void ShellSurface::UpdateWidgetBounds() {
|
| }
|
|
|
| void ShellSurface::UpdateShadow() {
|
| - if (!widget_)
|
| + if (!widget_ || !surface_)
|
| return;
|
| aura::Window* window = widget_->GetNativeWindow();
|
| if (!shadow_enabled_) {
|
|
|