aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DrawBitmapRectTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-07-17 07:09:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-17 07:09:43 -0700
commit84984efeb64787b88c5f8bd6929cfe2d58a3ba06 (patch)
tree79645557c20ff0e6e6bf75a0e92df1c7fece039f /tests/DrawBitmapRectTest.cpp
parentb9efc79015599db1b95a304210d119947bedb8de (diff)
Revert[2] of 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));