Index: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
index 37685411845ad3f5a1b3219ba77a136fd7886455..012c6a51fa85e8542ccbcb08355529496ce0b67f 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
+++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
@@ -99,9 +99,9 @@ private: |
void setHasAlpha(size_t index, bool hasAlpha); |
- SkBitmap tryToResumeDecode(SegmentReader*, bool allDataReceived, size_t index, const SkISize& scaledSize, SkBitmap::Allocator*); |
+ SkBitmap tryToResumeDecode(SegmentReader*, bool allDataReceived, size_t index, const SkISize& scaledSize, sk_sp<SkBitmap::Allocator>); |
// This method should only be called while m_decodeMutex is locked. |
- bool decode(SegmentReader*, bool allDataReceived, size_t index, ImageDecoder**, SkBitmap*, SkBitmap::Allocator*); |
+ bool decode(SegmentReader*, bool allDataReceived, size_t index, ImageDecoder**, SkBitmap*, sk_sp<SkBitmap::Allocator>); |
const SkISize m_fullSize; |