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..5d7315ab289b0c3193d7436c47c4095be62506b6 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; |
+ bool onCanDecodeAndScale(const SkColorType targetType, const SkScalar scale, |
+ SkISize *availableSize, SkISize *lowerSize) override; |
+ |
+ |
private: |
RefPtr<ImageFrameGenerator> m_frameGenerator; |
size_t m_frameIndex; |