aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DrawBitmapRectTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-07-16 06:10:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-16 06:10:02 -0700
commit6fb0b6779e40ce05c20cf279f0ecff31fa3cd60d (patch)
treebd36f1f0315eae23db39853f1a17917cc680fc20 /tests/DrawBitmapRectTest.cpp
parent18a240d15ca132fab01ba179bd1165d6a182f1cf (diff)
guard to remove DrawBitmapRectFlags
Diffstat (limited to 'tests/DrawBitmapRectTest.cpp')
-rw-r--r--tests/DrawBitmapRectTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp
index e6d46a751d..7d8798cc9b 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));