Chromium Code Reviews| Index: ash/common/shelf/wm_shelf.cc |
| diff --git a/ash/common/shelf/wm_shelf.cc b/ash/common/shelf/wm_shelf.cc |
| index 2dd361f09555a5c15753713bcd9ed1164a1860e5..6359f18e0e9cec9775559282aaee7ad28a184b75 100644 |
| --- a/ash/common/shelf/wm_shelf.cc |
| +++ b/ash/common/shelf/wm_shelf.cc |
| @@ -106,7 +106,7 @@ bool WmShelf::IsDimmed() const { |
| } |
| bool WmShelf::IsVisible() const { |
| - return shelf_->IsVisible(); |
| + return shelf_->shelf_widget()->IsShelfVisible(); |
| } |
| void WmShelf::UpdateVisibilityState() { |