Index: src/core/SkImageGenerator.cpp |
diff --git a/src/core/SkImageGenerator.cpp b/src/core/SkImageGenerator.cpp |
index 98a40148f272f218fcd04003c55373a6d3b28cea..440ae7f5b8f202f1175dc9ad2faef5e9826ccbd5 100644 |
--- a/src/core/SkImageGenerator.cpp |
+++ b/src/core/SkImageGenerator.cpp |
@@ -104,12 +104,11 @@ bool SkImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t |
return this->onGetYUV8Planes(sizes, planes, rowBytes); |
} |
-GrTexture* SkImageGenerator::generateTexture(GrContext* ctx, const GrTextureParams& params, |
- const SkIRect* subset) { |
+GrTexture* SkImageGenerator::generateTexture(GrContext* ctx, const SkIRect* subset) { |
if (subset && !SkIRect::MakeWH(fInfo.width(), fInfo.height()).contains(*subset)) { |
return nullptr; |
} |
- return this->onGenerateTexture(ctx, params, subset); |
+ return this->onGenerateTexture(ctx, subset); |
} |
///////////////////////////////////////////////////////////////////////////////////////////// |