Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index ce4c4081f22d1ae00dfc1ba82a0b7b8765f1aad8..487b46b05e05bbfb123f46b5e6494c4c703e587a 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -83,7 +83,9 @@ public: |
const SkMatrix* localMatrix = nullptr) |
: fPaint(paint) /* makes a copy of the paint */ { |
fPaint.setShader(SkMakeBitmapShader(src, SkShader::kClamp_TileMode, |
- SkShader::kClamp_TileMode, localMatrix, &fAllocator)); |
+ SkShader::kClamp_TileMode, localMatrix, |
+ kNever_SkCopyPixelsMode, |
+ &fAllocator)); |
// we deliberately left the shader with an owner-count of 2 |
fPaint.getShader()->ref(); |
SkASSERT(2 == fPaint.getShader()->getRefCnt()); |