| Index: src/core/SkBitmapDevice.cpp
|
| diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp
|
| index c2b633e1a645338245e250e580e42dd6b52b478f..311e72f576820b18966549d9d372ca62a733ae90 100644
|
| --- a/src/core/SkBitmapDevice.cpp
|
| +++ b/src/core/SkBitmapDevice.cpp
|
| @@ -381,11 +381,11 @@ void SkBitmapDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
|
| // construct a shader, so we can call drawRect with the dst
|
| SkShader* s = SkShader::CreateBitmapShader(*bitmapPtr,
|
| SkShader::kClamp_TileMode,
|
| - SkShader::kClamp_TileMode);
|
| + SkShader::kClamp_TileMode,
|
| + &matrix);
|
| if (NULL == s) {
|
| return;
|
| }
|
| - s->setLocalMatrix(matrix);
|
|
|
| SkPaint paintWithShader(paint);
|
| paintWithShader.setStyle(SkPaint::kFill_Style);
|
|
|