| Index: ash/aura/wm_shelf_aura.cc
|
| diff --git a/ash/aura/wm_shelf_aura.cc b/ash/aura/wm_shelf_aura.cc
|
| index 25e60bb97e701f4870688b49844fa1b4b872f018..4b4d5cb497ddf0efdbeab41e31ec7ae2a40cc8d8 100644
|
| --- a/ash/aura/wm_shelf_aura.cc
|
| +++ b/ash/aura/wm_shelf_aura.cc
|
| @@ -144,7 +144,8 @@ bool WmShelfAura::IsVisible() const {
|
| }
|
|
|
| void WmShelfAura::UpdateVisibilityState() {
|
| - shelf_layout_manager_->UpdateVisibilityState();
|
| + if (shelf_layout_manager_)
|
| + shelf_layout_manager_->UpdateVisibilityState();
|
| }
|
|
|
| ShelfVisibilityState WmShelfAura::GetVisibilityState() const {
|
|
|