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