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

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: Fix for rsesek 2 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
« no previous file with comments | « chrome/browser/ui/cocoa/hover_close_button.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a73c86473a44fe9ceebf5455016e3a46f85ffc5e..408c546d650818a67c94d67c4e38043b5ca4c3a8 100644
--- a/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.mm
+++ b/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.mm
@@ -82,7 +82,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];
« no previous file with comments | « chrome/browser/ui/cocoa/hover_close_button.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698