Revert[2] of guard to remove DrawBitmapRectFlags
This reverts commit 91110195a2eee170c11885da9d16f94b00a39f87.
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1240753003
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp
index bb04131..3334095 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.drawBitmapRectToRect(bmp, NULL, dstRect, &paint);
+ canvas.drawBitmapRect(bmp, dstRect, &paint);
return stretched;
}