| Index: Source/WebCore/platform/image-decoders/skia/ImageDecoderSkia.cpp
 | 
| ===================================================================
 | 
| --- Source/WebCore/platform/image-decoders/skia/ImageDecoderSkia.cpp	(revision 110586)
 | 
| +++ Source/WebCore/platform/image-decoders/skia/ImageDecoderSkia.cpp	(working copy)
 | 
| @@ -119,7 +119,7 @@
 | 
|  {
 | 
|      int width = bitmap.width();
 | 
|      int height = bitmap.height();
 | 
| -    CGImageRef srcImage = SkCreateCGImageRefWithColorspace(bitmap, colorSpace);
 | 
| +    RetainPtr<CGImageRef> srcImage(AdoptCF, SkCreateCGImageRefWithColorspace(bitmap, colorSpace));
 | 
|      SkAutoLockPixels lock(bitmap);
 | 
|      void* pixels = bitmap.getPixels();
 | 
|      RetainPtr<CGContextRef> cgBitmap(AdoptCF, CGBitmapContextCreate(pixels, width, height, 8, width * 4, deviceRGBColorSpaceRef(), kCGBitmapByteOrder32Host | kCGImageAlphaPremultipliedFirst));
 | 
| @@ -127,7 +127,7 @@
 | 
|          return;
 | 
|      CGContextSetBlendMode(cgBitmap.get(), kCGBlendModeCopy);
 | 
|      CGRect bounds = { {0, 0}, {width, height} };
 | 
| -    CGContextDrawImage(cgBitmap.get(), bounds, srcImage);
 | 
| +    CGContextDrawImage(cgBitmap.get(), bounds, srcImage.get());
 | 
|  }
 | 
|  
 | 
|  static CGColorSpaceRef createColorSpace(const ColorProfile& colorProfile)
 | 
| 
 |