Index: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
index 93cd822305711477837c6e7397ff970cbeb056cc..081b8b2e8256a50a55c2c71cda00e17a0e5a41c7 100644 |
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
@@ -112,8 +112,9 @@ void ZoomBubbleView::CloseBubble() { |
// static |
bool ZoomBubbleView::IsShowing() { |
- // The bubble may be in the process of closing. |
- return zoom_bubble_ != NULL && zoom_bubble_->GetWidget()->IsVisible(); |
+ // The bubble is considered showing while closing. |
+ return zoom_bubble_ != NULL && (zoom_bubble_->GetWidget()->IsVisible() || |
+ zoom_bubble_->GetWidget()->IsClosed()); |
} |
// static |