diff options
author | reed <reed@chromium.org> | 2015-07-16 06:10:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-16 06:10:02 -0700 |
commit | 6fb0b6779e40ce05c20cf279f0ecff31fa3cd60d (patch) | |
tree | bd36f1f0315eae23db39853f1a17917cc680fc20 /tests/DrawBitmapRectTest.cpp | |
parent | 18a240d15ca132fab01ba179bd1165d6a182f1cf (diff) |
guard to remove DrawBitmapRectFlags
BUG=skia:
Review URL: https://codereview.chromium.org/1235393003
Diffstat (limited to 'tests/DrawBitmapRectTest.cpp')
-rw-r--r-- | tests/DrawBitmapRectTest.cpp | 2 |
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)); |