Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 72b98cd5890bcfd6b2cce610115bddd8c3d0472b..ccb27eed833ced3485b5fa31f7ffacfd38b31817 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -109,8 +109,8 @@ private: |
typedef GrTextureMaker INHERITED; |
}; |
-GrTexture* SkImage_Gpu::asTextureRef(GrContext* ctx, SkImageUsageType usage) const { |
- return Texture_GrTextureMaker(this, fTexture).refCachedTexture(ctx, usage); |
+GrTexture* SkImage_Gpu::asTextureRef(GrContext* ctx, const GrTextureParams& params) const { |
+ return Texture_GrTextureMaker(this, fTexture).refCachedTexture(ctx, params); |
} |
bool SkImage_Gpu::isOpaque() const { |