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

Unified Diff: chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.mm

Issue 2126043002: [Material][Mac] Fix Default Favicon's Color (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaned up Created 4 years, 5 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/cocoa/tabs/alert_indicator_button_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.mm b/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.mm
index 8db7968b427057de5b6881c7316ddb10a8bbdbc7..9839cf78cc60b0fe735ff0623edb5ac1b5a0d23f 100644
--- a/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.mm
+++ b/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.mm
@@ -76,7 +76,7 @@ class FadeAnimationDelegate : public gfx::AnimationDelegate {
- (void)updateIconForState:(TabAlertState)aState {
if (aState != TabAlertState::NONE) {
TabView* const tabView = base::mac::ObjCCast<TabView>([self superview]);
- SkColor iconColor = [tabView closeButtonColor];
+ SkColor iconColor = [tabView iconColor];
NSImage* tabIndicatorImage =
chrome::GetTabAlertIndicatorImage(aState, iconColor).ToNSImage();
[self setImage:tabIndicatorImage];

Powered by Google App Engine
This is Rietveld 408576698