Index: src/core/SkImageCacherator.cpp |
diff --git a/src/core/SkImageCacherator.cpp b/src/core/SkImageCacherator.cpp |
index e9b7f6a82a60c378bcbc2ccbc124826a055333d7..ea4d4c2bab1f17137d3436c42cf7f5bcfa3a2891 100644 |
--- a/src/core/SkImageCacherator.cpp |
+++ b/src/core/SkImageCacherator.cpp |
@@ -213,11 +213,12 @@ |
Generator_GrYUVProvider(SkImageGenerator* gen) : fGen(gen) {} |
uint32_t onGetID() override { return fGen->uniqueID(); } |
- bool onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override { |
- return fGen->queryYUV8(sizeInfo, colorSpace); |
- } |
- bool onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) override { |
- return fGen->getYUV8Planes(sizeInfo, planes); |
+ bool onGetYUVSizes(SkISize sizes[3]) override { |
+ return fGen->getYUV8Planes(sizes, nullptr, nullptr, nullptr); |
+ } |
+ bool onGetYUVPlanes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], |
+ SkYUVColorSpace* space) override { |
+ return fGen->getYUV8Planes(sizes, planes, rowBytes, space); |
} |
}; |