Index: src/image/SkImageShader.cpp |
diff --git a/src/image/SkImageShader.cpp b/src/image/SkImageShader.cpp |
index 4c7ded906ceeefd21ee55a5ecb69e1d788de8a80..b1bb3ab8f80e3fd396669a5b270666ca837a3dad 100644 |
--- a/src/image/SkImageShader.cpp |
+++ b/src/image/SkImageShader.cpp |
@@ -43,7 +43,7 @@ bool SkImageShader::isOpaque() const { |
} |
size_t SkImageShader::onContextSize(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 { |