Index: gm/bigtileimagefilter.cpp |
diff --git a/gm/bigtileimagefilter.cpp b/gm/bigtileimagefilter.cpp |
index f465fe4d38c0a5a67f14d207ecb2a1dc8cc21202..e4855ba9aa5a0bd20e64ffd52d30a3878a1e29fb 100644 |
--- a/gm/bigtileimagefilter.cpp |
+++ b/gm/bigtileimagefilter.cpp |
@@ -84,7 +84,8 @@ protected: |
SkRect bound3 = SkRect::MakeXYWH(320, 320, |
SkIntToScalar(kBitmapSize), |
SkIntToScalar(kBitmapSize)); |
- canvas->drawBitmapRectToRect(fGreenBitmap, &bound2, bound3); |
+ canvas->drawBitmapRect(fGreenBitmap, &bound2, bound3, NULL, |
+ SkCanvas::kStrict_SrcRectConstraint); |
canvas->restore(); |
} |
} |