Index: ash/shelf/shelf_layout_manager.cc |
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc |
index 3b257b07ca6924122135a75492d13ac5b8cfca8c..43111b6a137f4148fd6c1cb5f7cbc4a4bc1d9d56 100644 |
--- a/ash/shelf/shelf_layout_manager.cc |
+++ b/ash/shelf/shelf_layout_manager.cc |
@@ -546,6 +546,7 @@ void ShelfLayoutManager::OnLockStateChanged(bool locked) { |
void ShelfLayoutManager::OnWindowActivated(aura::Window* gained_active, |
aura::Window* lost_active) { |
+ UpdateVisibilityState(); |
UpdateAutoHideStateNow(); |
} |