| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index 83715d8c8a555e98f297fc61b67b75b72bbce099..12eba26d39608b21dc965457d882b06a36cfbcc1 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -905,11 +905,10 @@ ShelfAutoHideState ShelfLayoutManager::CalculateAutoHideState(
|
| shelf_widget_->status_area_widget()->ShouldShowShelf())
|
| return SHELF_AUTO_HIDE_SHOWN;
|
|
|
| - if (shelf_widget_->shelf() && shelf_widget_->shelf()->IsShowingMenu())
|
| + if (shelf_widget_->IsShowingContextMenu())
|
| return SHELF_AUTO_HIDE_SHOWN;
|
|
|
| - if (shelf_widget_->shelf() &&
|
| - shelf_widget_->shelf()->IsShowingOverflowBubble())
|
| + if (shelf_widget_->IsShowingOverflowBubble())
|
| return SHELF_AUTO_HIDE_SHOWN;
|
|
|
| if (shelf_widget_->IsActive() ||
|
|
|