Index: src/image/SkImage_Raster.cpp |
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp |
index 512e788a39008b4450279a5024f9808ebeff7a6c..c88e17689c868e612653b0f66ac0361e31fd3d5f 100644 |
--- a/src/image/SkImage_Raster.cpp |
+++ b/src/image/SkImage_Raster.cpp |
@@ -79,10 +79,6 @@ public: |
SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } |
- SkShader* onNewShader(SkShader::TileMode, |
- SkShader::TileMode, |
- const SkMatrix* localMatrix) const override; |
- |
bool isOpaque() const override; |
bool onAsLegacyBitmap(SkBitmap*, LegacyBitmapMode) const override; |
@@ -143,11 +139,6 @@ SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, const SkIPoint& |
SkImage_Raster::~SkImage_Raster() {} |
-SkShader* SkImage_Raster::onNewShader(SkShader::TileMode tileX, SkShader::TileMode tileY, |
- const SkMatrix* localMatrix) const { |
- return SkShader::CreateBitmapShader(fBitmap, tileX, tileY, localMatrix); |
-} |
- |
bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, |
int srcX, int srcY) const { |
SkBitmap shallowCopy(fBitmap); |