Index: chrome/browser/ui/cocoa/download/download_item_cell.mm |
diff --git a/chrome/browser/ui/cocoa/download/download_item_cell.mm b/chrome/browser/ui/cocoa/download/download_item_cell.mm |
index ed6e0a9aea58f5aa71cac0172afc848a4e24f50a..ee2a597c3497e642a1681dd8c3052e91c5e10942 100644 |
--- a/chrome/browser/ui/cocoa/download/download_item_cell.mm |
+++ b/chrome/browser/ui/cocoa/download/download_item_cell.mm |
@@ -406,8 +406,14 @@ const int kInterruptedAnimationDuration = 2.5; |
nil]; |
NSPoint secondaryPos = |
NSMakePoint(innerFrame.origin.x + kTextPosLeft, kSecondaryTextPosTop); |
+ NSGraphicsContext* nsContext = [NSGraphicsContext currentContext]; |
+ CGContextRef cgContext = (CGContextRef)[nsContext graphicsPort]; |
+ [nsContext saveGraphicsState]; |
+ [nsContext setCompositingOperation:NSCompositeSourceOver]; |
+ CGContextSetAlpha(cgContext, statusAlpha_); |
[secondaryText drawAtPoint:secondaryPos |
withAttributes:secondaryTextAttributes]; |
+ [nsContext restoreGraphicsState]; |
} |
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView*)controlView { |