Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
index 7da3b9beaf524831f080a8816321202214490092..1b10b74ed401abf63004f3fa68a80488ddf595d1 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
@@ -267,7 +267,7 @@ public: |
// and returns true. Otherwise returns false. |
virtual bool hotSpot(IntPoint&) const { return false; } |
- virtual void setMemoryAllocator(SkBitmap::Allocator* allocator) |
+ void setMemoryAllocator(PassRefPtr<SkBitmap::Allocator> allocator) |
{ |
// FIXME: this doesn't work for images with multiple frames. |
if (m_frameBufferCache.isEmpty()) { |