Index: ash/launcher/launcher_tooltip_manager.cc |
diff --git a/ash/launcher/launcher_tooltip_manager.cc b/ash/launcher/launcher_tooltip_manager.cc |
index 4263bd6458084690f73b10aefa5cb35eb7d3af9c..14e3025b4445dea86fff882968721baaf8410e21 100644 |
--- a/ash/launcher/launcher_tooltip_manager.cc |
+++ b/ash/launcher/launcher_tooltip_manager.cc |
@@ -325,16 +325,16 @@ void LauncherTooltipManager::WillDeleteShelf() { |
} |
void LauncherTooltipManager::WillChangeVisibilityState( |
- ShelfLayoutManager::VisibilityState new_state) { |
- if (new_state == ShelfLayoutManager::HIDDEN) { |
+ ShelfVisibilityState new_state) { |
+ if (new_state == SHELF_HIDDEN) { |
StopTimer(); |
Close(); |
} |
} |
void LauncherTooltipManager::OnAutoHideStateChanged( |
- ShelfLayoutManager::AutoHideState new_state) { |
- if (new_state == ShelfLayoutManager::AUTO_HIDE_HIDDEN) { |
+ ShelfAutoHideState new_state) { |
+ if (new_state == SHELF_AUTO_HIDE_HIDDEN) { |
StopTimer(); |
// AutoHide state change happens during an event filter, so immediate close |
// may cause a crash in the HandleMouseEvent() after the filter. So we just |