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

Unified Diff: gfx/canvas_mac.mm

Issue 1589021: Status area improvements:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
« chrome/browser/chromeos/frame/browser_view.cc ('K') | « gfx/canvas_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/canvas_mac.mm
===================================================================
--- gfx/canvas_mac.mm (revision 44004)
+++ gfx/canvas_mac.mm (working copy)
@@ -44,7 +44,7 @@
NSColor* ns_color = [NSColor colorWithDeviceRed:SkColorGetR(color) / 255.0
green:SkColorGetG(color) / 255.0
blue:SkColorGetB(color) / 255.0
- alpha:1.0];
+ alpha:SkColorGetA(color) / 255.0];
NSMutableParagraphStyle *ns_style =
[[[NSParagraphStyle alloc] init] autorelease];
if (flags & TEXT_ALIGN_CENTER)
« chrome/browser/chromeos/frame/browser_view.cc ('K') | « gfx/canvas_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698