Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
index a2bbaf0c4c39a868dfbab7e9fd1b91c3834e916e..acc0b538ea744cc2d6cd1a07f8eba17ea94ad551 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
@@ -60,6 +60,10 @@ protected: |
bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace*) override; |
+ SkImageGenerator::Result onCanDecodeAndScale(const SkColorType targetType, const SkScalar scale, |
+ SkISize* availableSize, SkISize* lowerSize) override; |
+ |
+ |
private: |
RefPtr<ImageFrameGenerator> m_frameGenerator; |
size_t m_frameIndex; |