Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index e0a13f915bdef3116ef2f212eb5c17d4445f2c5a..9e136f5a27b1b6ffa098f66c5aed8e5219a765c6 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -78,6 +78,10 @@ GrTexture* SkImage::getTexture() { |
return as_IB(this)->onGetTexture(); |
} |
+SkShader* SkImage::newShader(SkShader::TileMode tileX, SkShader::TileMode tileY) const { |
+ return as_IB(this)->onNewShader(tileX, tileY); |
+} |
+ |
SkData* SkImage::encode(SkImageEncoder::Type type, int quality) const { |
SkBitmap bm; |
if (as_IB(this)->getROPixels(&bm)) { |