diff options
author | reed <reed@google.com> | 2016-08-11 03:55:15 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-11 03:55:15 -0700 |
commit | a9ca05ca5e604b9ee18e9cce19b059085ca0e22c (patch) | |
tree | b8b28257068935dc55c956c41ff2e3d899e031c7 /tests/PictureTest.cpp | |
parent | 286a8657da0364006e95cb0988477cc3a5f0e112 (diff) |
Deserialize pictures with custom image-deserializer
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2187613002
Review-Url: https://codereview.chromium.org/2187613002
Diffstat (limited to 'tests/PictureTest.cpp')
-rw-r--r-- | tests/PictureTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index 749bd6e3d4..7b187b4409 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); |