Index: src/utils/SkImageGeneratorUtils.cpp |
diff --git a/src/utils/SkImageGeneratorUtils.cpp b/src/utils/SkImageGeneratorUtils.cpp |
index 42a0fe518d606ea1f69fcace5ac1f0e081a38c44..8202dbe1339f2271f0efcd6c54022ee95c335f58 100644 |
--- a/src/utils/SkImageGeneratorUtils.cpp |
+++ b/src/utils/SkImageGeneratorUtils.cpp |
@@ -56,7 +56,8 @@ public: |
{} |
protected: |
- GrTexture* onGenerateTexture(GrContext* ctx, SkImageUsageType, const SkIRect* subset) override { |
+ GrTexture* onGenerateTexture(GrContext* ctx, const GrTextureParams&, |
+ const SkIRect* subset) override { |
if (ctx) { |
SkASSERT(ctx == fCtx.get()); |
} |
@@ -112,7 +113,8 @@ protected: |
return fImage->readPixels(info, pixels, rowBytes, 0, 0); |
} |
- GrTexture* onGenerateTexture(GrContext* ctx, SkImageUsageType, const SkIRect* subset) override { |
+ GrTexture* onGenerateTexture(GrContext* ctx, const GrTextureParams&, |
+ const SkIRect* subset) override { |
// waiting on https://code.google.com/p/skia/issues/detail?id=4233 |
return nullptr; |
} |