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

Unified Diff: chrome/browser/ui/cocoa/profile_menu_button.mm

Issue 6735060: NSColor* and NSSize BS in profile_menu_button.mm (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/profile_menu_button.mm
===================================================================
--- chrome/browser/ui/cocoa/profile_menu_button.mm (revision 80463)
+++ chrome/browser/ui/cocoa/profile_menu_button.mm (working copy)
@@ -215,9 +215,9 @@
// White shadow for inset look
[[NSGraphicsContext currentContext] saveGraphicsState];
scoped_nsobject<NSShadow> tabShadow([[NSShadow alloc] init]);
- [tabShadow setShadowOffset:NSMakeSize(0, -1)];
+ [tabShadow.get() setShadowOffset:NSMakeSize(0, -1)];
[tabShadow setShadowBlurRadius:0];
- [tabShadow setShadowColor:GetWhiteWithAlpha(0.6)];
+ [tabShadow.get() setShadowColor:GetWhiteWithAlpha(0.6)];
[tabShadow set];
// Gray outline
@@ -254,9 +254,9 @@
// Arrow shadow
[[NSGraphicsContext currentContext] saveGraphicsState];
scoped_nsobject<NSShadow> arrowShadow([[NSShadow alloc] init]);
- [arrowShadow setShadowOffset:NSMakeSize(0, -1)];
+ [arrowShadow.get() setShadowOffset:NSMakeSize(0, -1)];
[arrowShadow setShadowBlurRadius:0];
- [arrowShadow setShadowColor:GetBlackWithAlpha(0.6)];
+ [arrowShadow.get() setShadowColor:GetBlackWithAlpha(0.6)];
[arrowShadow set];
// Down arrow
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698