| Index: src/lazy/SkDiscardablePixelRef.h
|
| diff --git a/src/lazy/SkDiscardablePixelRef.h b/src/lazy/SkDiscardablePixelRef.h
|
| index 448f0ab24b907c1fe7b3ce1e49146905e30f0cd3..17447f81484a93b5a120a1ebe81ace19d57c1f61 100644
|
| --- a/src/lazy/SkDiscardablePixelRef.h
|
| +++ b/src/lazy/SkDiscardablePixelRef.h
|
| @@ -48,11 +48,13 @@ private:
|
| size_t rowBytes,
|
| SkDiscardableMemory::Factory* factory);
|
|
|
| - virtual bool onGetYUV8Planes(SkISize sizes[3],
|
| - void* planes[3],
|
| - size_t rowBytes[3],
|
| - SkYUVColorSpace* colorSpace) SK_OVERRIDE {
|
| - return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace);
|
| + bool onQueryYUV8(SkISize logical[3], SkISize optimal[3]) SK_OVERRIDE {
|
| + return fGenerator->queryYUV8(logical, optimal);
|
| + }
|
| +
|
| + bool onGetYUV8(const SkISize allocationSizes[3], void* planes[3],
|
| + SkYUVColorSpace* cspace) SK_OVERRIDE {
|
| + return fGenerator->getYUV8(allocationSizes, planes, cspace);
|
| }
|
|
|
| friend bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap*,
|
|
|