Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 975d7ba803645720061137975afb12265d22ca30..6f4655758e36cb7b50a565f514655cb51921db75 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -11,7 +11,6 @@ |
#include "SkData.h" |
#include "SkImageGenerator.h" |
#include "SkImagePriv.h" |
-#include "SkImageShader.h" |
#include "SkImage_Base.h" |
#include "SkNextID.h" |
#include "SkPixelRef.h" |
@@ -70,7 +69,7 @@ |
SkShader* SkImage::newShader(SkShader::TileMode tileX, |
SkShader::TileMode tileY, |
const SkMatrix* localMatrix) const { |
- return SkImageShader::Create(this, tileX, tileY, localMatrix); |
+ return as_IB(this)->onNewShader(tileX, tileY, localMatrix); |
} |
SkData* SkImage::encode(SkImageEncoder::Type type, int quality) const { |