Index: src/core/SkPictureImageGenerator.cpp |
diff --git a/src/core/SkPictureImageGenerator.cpp b/src/core/SkPictureImageGenerator.cpp |
index a27291f1a87c320b6418c2b1c6d324f6c5a71df6..556015d99e375c6b5889bb35425742b56a485554 100644 |
--- a/src/core/SkPictureImageGenerator.cpp |
+++ b/src/core/SkPictureImageGenerator.cpp |
@@ -22,7 +22,7 @@ protected: |
bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctable[], |
int* ctableCount) override; |
#if SK_SUPPORT_GPU |
- GrTexture* onGenerateTexture(GrContext*, const GrTextureParams&, const SkIRect*) override; |
+ GrTexture* onGenerateTexture(GrContext*, const SkIRect*) override; |
#endif |
private: |
@@ -88,8 +88,7 @@ SkImageGenerator* SkImageGenerator::NewFromPicture(const SkISize& size, const Sk |
#if SK_SUPPORT_GPU |
#include "GrTexture.h" |
-GrTexture* SkPictureImageGenerator::onGenerateTexture(GrContext* ctx, const GrTextureParams&, |
- const SkIRect* subset) { |
+GrTexture* SkPictureImageGenerator::onGenerateTexture(GrContext* ctx, const SkIRect* subset) { |
const SkImageInfo& info = this->getInfo(); |
SkImageInfo surfaceInfo = subset ? info.makeWH(subset->width(), subset->height()) : info; |