Index: src/core/SkBitmapDevice.cpp |
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp |
index 79b62abe2c0b48126db69c67ef34a3ac231fc449..41416e733b6b92dfdd1b7e938238da2d50f7acd7 100644 |
--- a/src/core/SkBitmapDevice.cpp |
+++ b/src/core/SkBitmapDevice.cpp |
@@ -329,7 +329,7 @@ void SkBitmapDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, |
SkTBlitterAllocator allocator; |
// construct a shader, so we can call drawRect with the dst |
auto s = SkMakeBitmapShader(*bitmapPtr, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, |
- &matrix, &allocator); |
+ &matrix, kNever_SkCopyPixelsMode, &allocator); |
if (!s) { |
return; |
} |