Index: include/core/SkImageGenerator.h |
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h |
index e04e05ea0b383d59959397bdf12cf7ef94e86218..3d508ddfb1c7ec7f1ceb34b9a12d3ce3d50f6060 100644 |
--- a/include/core/SkImageGenerator.h |
+++ b/include/core/SkImageGenerator.h |
@@ -150,7 +150,7 @@ public: |
* so the caller must inspect the texture's width/height and compare them to the generator's |
* getInfo() width/height. For readback usage use GrTextureParams::ClampNoFilter() |
*/ |
- GrTexture* generateTexture(GrContext*, const GrTextureParams&, const SkIRect* subset = nullptr); |
+ GrTexture* generateTexture(GrContext*, const SkIRect* subset = nullptr); |
/** |
* If the default image decoder system can interpret the specified (encoded) data, then |
@@ -195,7 +195,7 @@ protected: |
virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], |
SkYUVColorSpace* colorSpace); |
- virtual GrTexture* onGenerateTexture(GrContext*, const GrTextureParams&, const SkIRect*) { |
+ virtual GrTexture* onGenerateTexture(GrContext*, const SkIRect*) { |
return nullptr; |
} |