| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 53641dc08364908c34944b1014e22d3ae5ea59d5..4af16109a4b6df1481c65ce98306277f732ce5ca 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1202,8 +1202,7 @@ void SkGpuDevice::drawBitmapCommon(const SkDraw& draw,
|
|
|
| SkPaint paintWithShader(paint);
|
| paintWithShader.setShader(SkShader::CreateBitmapShader(*bitmapPtr,
|
| - SkShader::kClamp_TileMode, SkShader::kClamp_TileMode))->unref();
|
| - paintWithShader.getShader()->setLocalMatrix(localM);
|
| + SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, &localM))->unref();
|
| SkRect dstRect = {0, 0, dstSize.fWidth, dstSize.fHeight};
|
| this->drawRect(draw, dstRect, paintWithShader);
|
|
|
|
|