aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordDrawTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-08-06 10:02:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-06 10:02:53 -0700
commite47829b6b1eeb6b0c97ccb3df3016d197046824c (patch)
treefb90751c17490f47febe44cabf2c4cf1fa249a48 /tests/RecordDrawTest.cpp
parentfb1141ae1db2ffce479bc46413b008d31cf9d3cc (diff)
flag to use const& instead of const* for src-rect
Diffstat (limited to 'tests/RecordDrawTest.cpp')
-rw-r--r--tests/RecordDrawTest.cpp2
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);