Index: gm/bitmaprecttest.cpp |
diff --git a/gm/bitmaprecttest.cpp b/gm/bitmaprecttest.cpp |
index eaa7a3a7439da890a9f59f62bdc6d59a567a81fd..6f2ccf211ea759b33efe0201d3c6eef9f91aa24d 100644 |
--- a/gm/bitmaprecttest.cpp |
+++ b/gm/bitmaprecttest.cpp |
@@ -42,7 +42,7 @@ static void test_bitmaprect(SkCanvas* canvas) { |
SkScalar scale = 0.472560018f; |
canvas->save(); |
canvas->scale(scale, scale); |
- canvas->drawBitmapRectToRect(bm, NULL, SkRect::MakeXYWH(100, 100, 128, 128), NULL); |
+ canvas->drawBitmapRect(bm, SkRect::MakeXYWH(100, 100, 128, 128)); |
canvas->restore(); |
canvas->scale(-1, 1); |