Index: chrome/browser/ui/cocoa/animatable_image.mm |
diff --git a/chrome/browser/ui/cocoa/animatable_image.mm b/chrome/browser/ui/cocoa/animatable_image.mm |
index 2d09bf0c237c489fb31a946f8ac609d272ae8286..d2fd2da4a0ac7d5b588e167dcc0d71bd1b21e0e1 100644 |
--- a/chrome/browser/ui/cocoa/animatable_image.mm |
+++ b/chrome/browser/ui/cocoa/animatable_image.mm |
@@ -130,7 +130,7 @@ |
// Sets the layer contents by converting the NSImage to a CGImageRef. This will |
// rasterize PDF resources. |
- (void)setLayerContents:(CALayer*)layer { |
- base::mac::ScopedCFTypeRef<CGImageRef> image( |
+ base::ScopedCFTypeRef<CGImageRef> image( |
base::mac::CopyNSImageToCGImage(image_.get())); |
// Create the layer that will be animated. |
[layer setContents:(id)image.get()]; |