Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 7a73c7453bc918ccf0ceb7f4e41ae02ea643e879..81114b0fe8d1dfa59a17a9f1c148b4ed7f93f35d 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -27,7 +27,9 @@ public: |
GrTexture* getTexture() { return fBitmap.getTexture(); } |
- virtual SkShader* onNewShader(SkShader::TileMode, SkShader::TileMode) const SK_OVERRIDE; |
+ virtual SkShader* onNewShader(SkShader::TileMode, |
+ SkShader::TileMode, |
+ const SkMatrix* localMatrix) const SK_OVERRIDE; |
private: |
SkBitmap fBitmap; |
@@ -45,8 +47,11 @@ SkImage_Gpu::SkImage_Gpu(const SkBitmap& bitmap) |
SkImage_Gpu::~SkImage_Gpu() { |
} |
-SkShader* SkImage_Gpu::onNewShader(SkShader::TileMode tileX, SkShader::TileMode tileY) const { |
- return SkShader::CreateBitmapShader(fBitmap, tileX, tileY, NULL); |
+SkShader* SkImage_Gpu::onNewShader(SkShader::TileMode tileX, |
+ SkShader::TileMode tileY, |
+ const SkMatrix* localMatrix) const |
+{ |
+ return SkShader::CreateBitmapShader(fBitmap, tileX, tileY, localMatrix); |
} |
void SkImage_Gpu::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y, |