Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6312)

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_view.cc

Issue 2374253002: Fix bookmark bubble/star view highlighting for Harmony. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698