Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index 284f8672adcee772b35cd6d0e4879e2190544d6c..cdd3a9ceae8317228937f8cae052a62b1bb67170 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -320,9 +320,11 @@ void LocationBarView::ZoomChangedForActiveTab(bool can_show_bubble) { |
} |
WebContents* web_contents = GetWebContents(); |
- if (can_show_bubble && zoom_view_->visible() && web_contents) |
+ if (can_show_bubble && web_contents && |
+ (zoom_view_->visible() || ZoomBubbleView::GetZoomBubble())) { |
ZoomBubbleView::ShowBubble(web_contents, gfx::Point(), |
ZoomBubbleView::AUTOMATIC); |
+ } |
} |
void LocationBarView::SetStarToggled(bool on) { |