diff options
author | 2015-10-15 12:14:55 -0700 | |
---|---|---|
committer | 2015-10-15 12:14:55 -0700 | |
commit | 5f5527fb46664297fbeb575033886a757eb44147 (patch) | |
tree | 3370bdc9bc9b765d2817b4d25b1a9d9b22f0b632 /src/utils/SkImageGeneratorUtils.cpp | |
parent | 41c054eeb0109c35cadaa90c546cbf954edcb3fe (diff) |
Remove params from Cacherator_GrTextureMaker
Review URL: https://codereview.chromium.org/1403313003
Diffstat (limited to 'src/utils/SkImageGeneratorUtils.cpp')
-rw-r--r-- | src/utils/SkImageGeneratorUtils.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/utils/SkImageGeneratorUtils.cpp b/src/utils/SkImageGeneratorUtils.cpp index 8202dbe133..928d052ec6 100644 --- a/src/utils/SkImageGeneratorUtils.cpp +++ b/src/utils/SkImageGeneratorUtils.cpp @@ -56,8 +56,7 @@ public: {} protected: - GrTexture* onGenerateTexture(GrContext* ctx, const GrTextureParams&, - const SkIRect* subset) override { + GrTexture* onGenerateTexture(GrContext* ctx, const SkIRect* subset) override { if (ctx) { SkASSERT(ctx == fCtx.get()); } @@ -113,8 +112,7 @@ protected: return fImage->readPixels(info, pixels, rowBytes, 0, 0); } - GrTexture* onGenerateTexture(GrContext* ctx, const GrTextureParams&, - const SkIRect* subset) override { + GrTexture* onGenerateTexture(GrContext* ctx, const SkIRect* subset) override { // waiting on https://code.google.com/p/skia/issues/detail?id=4233 return nullptr; } |