diff options
author | reed <reed@google.com> | 2015-08-06 10:02:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-06 10:02:53 -0700 |
commit | e47829b6b1eeb6b0c97ccb3df3016d197046824c (patch) | |
tree | fb90751c17490f47febe44cabf2c4cf1fa249a48 /tests/RecordDrawTest.cpp | |
parent | fb1141ae1db2ffce479bc46413b008d31cf9d3cc (diff) |
flag to use const& instead of const* for src-rect
BUG=skia:
Review URL: https://codereview.chromium.org/1272713005
Diffstat (limited to 'tests/RecordDrawTest.cpp')
-rw-r--r-- | tests/RecordDrawTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp index 9bbf1d95af..da78296648 100644 --- a/tests/RecordDrawTest.cpp +++ b/tests/RecordDrawTest.cpp @@ -325,7 +325,7 @@ DEF_TEST(RecordDraw_drawImage, r){ { SkRecord record; SkRecorder recorder(&record, 10, 10); - recorder.drawImageRect(image, 0, SkRect::MakeWH(10, 10)); + recorder.drawImageRect(image, SkRect::MakeWH(10, 10), nullptr); SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL, 0); } REPORTER_ASSERT(r, canvas.fDrawImageRectCalled); |