| 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 46469a67ed8505bce7bc1a15c4f55028a03d7bae..1f24ca97307beb43a0ed70d8bbfa62ac600ca82c 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -983,7 +983,7 @@ bool LocationBarView::RefreshZoomView() {
|
| const bool was_visible = zoom_view_->visible();
|
| zoom_view_->Update(ui_zoom::ZoomController::FromWebContents(web_contents));
|
| if (!zoom_view_->visible())
|
| - ZoomBubbleView::CloseBubble();
|
| + ZoomBubbleView::CloseCurrentBubble();
|
| return was_visible != zoom_view_->visible();
|
| }
|
|
|
| @@ -1018,7 +1018,7 @@ void LocationBarView::RefreshTranslateIcon() {
|
| command_updater()->UpdateCommandEnabled(IDC_TRANSLATE_PAGE, enabled);
|
| translate_icon_view_->SetVisible(enabled);
|
| if (!enabled)
|
| - TranslateBubbleView::CloseBubble();
|
| + TranslateBubbleView::CloseCurrentBubble();
|
| }
|
|
|
| bool LocationBarView::RefreshManagePasswordsIconView() {
|
|
|