Index: src/image/SkImageShader.cpp |
diff --git a/src/image/SkImageShader.cpp b/src/image/SkImageShader.cpp |
index a07603c671863cd97c44363975a9fa52ccbb9542..e8c16b8096d94facfd163ae7e3c537973f420dbf 100644 |
--- a/src/image/SkImageShader.cpp |
+++ b/src/image/SkImageShader.cpp |
@@ -43,7 +43,7 @@ bool SkImageShader::isOpaque() const { |
} |
size_t SkImageShader::contextSize(const ContextRec& rec) const { |
- return SkBitmapProcShader::ContextSize(rec); |
+ return SkBitmapProcShader::ContextSize(rec, SkBitmapProvider(fImage).info()); |
} |
SkShader::Context* SkImageShader::onCreateContext(const ContextRec& rec, void* storage) const { |