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

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

Issue 1354823002: Render the tab close button as a vector-based icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/tabs/tab_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.mm b/chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.mm
index 693fee11f2582562722d2d2fdfdc108ed3cc8ff5..3877b6d96c92ac52ad8fd1c2efde7561c03a2916 100644
--- a/chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.mm
+++ b/chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.mm
@@ -77,9 +77,9 @@ class FadeAnimationDelegate : public gfx::AnimationDelegate {
if (nextState != TAB_MEDIA_STATE_NONE) {
[self
- setImage:chrome::GetTabMediaIndicatorImage(nextState, nil).ToNSImage()];
+ setImage:chrome::GetTabMediaIndicatorImage(nextState, 0).ToNSImage()];
affordanceImage_.reset(
- [chrome::GetTabMediaIndicatorAffordanceImage(nextState, nil)
+ [chrome::GetTabMediaIndicatorAffordanceImage(nextState, 0)
.ToNSImage() retain]);
}
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/tabs/tab_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698