Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index 749bd6e3d4ebdeb7ef832ef0c30fe7377a530398..7b187b44099820d82529ff2be5d64d6c3a13811d 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -691,7 +691,7 @@ DEF_TEST(Picture_EncodedData, reporter) { |
SkSetErrorCallback(assert_one_parse_error_cb, &context); |
SkMemoryStream pictureStream(std::move(picture1)); |
SkClearLastError(); |
- sk_sp<SkPicture> pictureFromStream(SkPicture::MakeFromStream(&pictureStream, nullptr)); |
+ sk_sp<SkPicture> pictureFromStream(SkPicture::MakeFromStream(&pictureStream)); |
REPORTER_ASSERT(reporter, pictureFromStream.get() != nullptr); |
SkClearLastError(); |
SkSetErrorCallback(nullptr, nullptr); |