Index: tests/DrawBitmapRectTest.cpp |
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp |
index e6d46a751d270acae894f1fb15cf9f825ffefb8b..7d8798cc9b145f472f9d224133dec6baf0899acd 100644 |
--- a/tests/DrawBitmapRectTest.cpp |
+++ b/tests/DrawBitmapRectTest.cpp |
@@ -299,7 +299,7 @@ DEF_TEST(DrawBitmapRect, reporter) { |
SkIRect srcR = { gWidth, 0, gWidth + 16, 16 }; |
SkRect dstR = { 0, 0, SkIntToScalar(16), SkIntToScalar(16) }; |
- canvas.drawBitmapRect(src, &srcR, dstR, NULL); |
+ canvas.drawBitmapRect(src, srcR, dstR, NULL); |
// ensure that we draw nothing if srcR does not intersect the bitmap |
REPORTER_ASSERT(reporter, check_for_all_zeros(dst)); |