Index: chrome/browser/ui/views/frame/browser_view.cc |
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
index 3ac592238f6223ebbd5af734c21589dd402cac62..52c7ea73c60b341d1cef5320b6650d8c85315513 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.cc |
+++ b/chrome/browser/ui/views/frame/browser_view.cc |
@@ -74,6 +74,7 @@ |
#include "chrome/browser/ui/views/infobars/infobar_container_view.h" |
#include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
#include "chrome/browser/ui/views/location_bar/location_icon_view.h" |
+#include "chrome/browser/ui/views/location_bar/zoom_bubble_view.h" |
#include "chrome/browser/ui/views/omnibox/omnibox_view_views.h" |
#include "chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h" |
#include "chrome/browser/ui/views/profiles/avatar_menu_button.h" |
@@ -824,6 +825,9 @@ void BrowserView::OnActiveTabChanged(content::WebContents* old_contents, |
// Update all the UI bits. |
UpdateTitleBar(); |
+ |
+ TranslateBubbleView::CloseBubble(); |
+ ZoomBubbleView::CloseBubble(); |
} |
void BrowserView::ZoomChangedForActiveTab(bool can_show_bubble) { |