Index: src/image/SkImageShader.cpp |
diff --git a/src/image/SkImageShader.cpp b/src/image/SkImageShader.cpp |
index 5fbb0a9b9f0ba495d2fb32446dcc44b7cf0297a1..d9af95d913326a1abd7f7ca1245e39a7aa5bd82e 100644 |
--- a/src/image/SkImageShader.cpp |
+++ b/src/image/SkImageShader.cpp |
@@ -241,7 +241,7 @@ sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode tmx, |
// or modify this assert. |
SkASSERT(!allocator || (kNever_SkCopyPixelsMode == cpm)); |
- return SkImageShader::Make(SkMakeImageFromRasterBitmap(src, cpm).get(), |
+ return SkImageShader::Make(SkMakeImageFromRasterBitmap(src, cpm, allocator).get(), |
tmx, tmy, localMatrix, allocator); |
} |