Chromium Code Reviews| Index: chrome/browser/ui/views/toolbar/toolbar_view.cc |
| diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.cc b/chrome/browser/ui/views/toolbar/toolbar_view.cc |
| index 027ae25570322a0b412b2ac25f88ea3a6be52273..8d815ef278f85aa0a1732dc24327732ffbaa891b 100644 |
| --- a/chrome/browser/ui/views/toolbar/toolbar_view.cc |
| +++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc |
| @@ -311,8 +311,7 @@ views::View* ToolbarView::GetTranslateBubbleAnchor() { |
| void ToolbarView::OnBubbleCreatedForAnchor(views::View* anchor_view, |
|
Evan Stade
2016/09/28 22:30:58
I honestly don't see what the purpose of this func
|
| views::Widget* bubble_widget) { |
| if (bubble_widget && |
| - (anchor_view == location_bar()->star_view() || |
| - anchor_view == location_bar()->save_credit_card_icon_view() || |
| + (anchor_view == location_bar()->save_credit_card_icon_view() || |
| anchor_view == location_bar()->translate_icon_view())) { |
| DCHECK(anchor_view); |
| bubble_widget->AddObserver(static_cast<BubbleIconView*>(anchor_view)); |