Index: tests/RecorderTest.cpp |
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp |
index 829fe3e229d12c69c20957bd4e9dc081558b34d6..c41d634b440814fca69ea336ef77b34d109a8923 100644 |
--- a/tests/RecorderTest.cpp |
+++ b/tests/RecorderTest.cpp |
@@ -98,7 +98,7 @@ DEF_TEST(Recorder_drawImage_takeReference, reporter) { |
SkRecorder recorder(&record, 100, 100); |
// DrawImageRect is supposed to take a reference |
- recorder.drawImageRect(image.get(), 0, SkRect::MakeWH(100, 100)); |
+ recorder.drawImageRect(image.get(), SkRect::MakeWH(100, 100), nullptr); |
REPORTER_ASSERT(reporter, !image->unique()); |
Tally tally; |