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

Unified Diff: chrome/browser/cocoa/animatable_image.mm

Issue 3005018: Load the download animation image as an NSImage rather than a CGImageRef. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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 | « no previous file | chrome/browser/cocoa/download_started_animation_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/animatable_image.mm
diff --git a/chrome/browser/cocoa/animatable_image.mm b/chrome/browser/cocoa/animatable_image.mm
index 90943416c86003831114e64af38f86d6edc35af1..db0822417ab6ad117894374fc57a4ac975455bc4 100644
--- a/chrome/browser/cocoa/animatable_image.mm
+++ b/chrome/browser/cocoa/animatable_image.mm
@@ -148,7 +148,7 @@
[image_ drawInRect:NSMakeRect(0,0, size.width, size.height)
fromRect:NSZeroRect
operation:NSCompositeCopy
- fraction:1.0];
+ fraction:1.0];
[NSGraphicsContext restoreGraphicsState];
scoped_cftyperef<CGImageRef> cgImage(CGBitmapContextCreateImage(context));
« no previous file with comments | « no previous file | chrome/browser/cocoa/download_started_animation_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698