Index: src/gpu/SkGr.cpp |
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp |
index 3334095a95f700b8183bef085d053de92d87ecda..bb041312450ae278c8ede6bf70dfedc6d02be3ba 100644 |
--- a/src/gpu/SkGr.cpp |
+++ b/src/gpu/SkGr.cpp |
@@ -529,7 +529,7 @@ |
break; |
} |
SkRect dstRect = SkRect::MakeWH(SkIntToScalar(stretch.fWidth), SkIntToScalar(stretch.fHeight)); |
- canvas.drawBitmapRect(bmp, dstRect, &paint); |
+ canvas.drawBitmapRectToRect(bmp, NULL, dstRect, &paint); |
return stretched; |
} |