commit | 9ce9d6772df650ceb0511f275e1a83dffa78ff72 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Thu Mar 17 10:51:11 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Mar 17 10:51:11 2016 -0700 |
tree | 1c0d54a75945863947490ec45cccf7c30eaa2ca4 | |
parent | 42d95a0afb26560586232961445ba36de387ca37 [diff] [blame] |
update callsites for Make image factories not forced yet, as we still have the build-guard. waiting on chrome CL BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1810813003 TBR= Review URL: https://codereview.chromium.org/1810813003
diff --git a/tests/ImageIsOpaqueTest.cpp b/tests/ImageIsOpaqueTest.cpp index 739af2b..6f13708 100644 --- a/tests/ImageIsOpaqueTest.cpp +++ b/tests/ImageIsOpaqueTest.cpp
@@ -49,7 +49,7 @@ } static void check_isopaque(skiatest::Reporter* reporter, SkSurface* surface, bool expectedOpaque) { - SkAutoTUnref<SkImage> image(surface->newImageSnapshot()); + sk_sp<SkImage> image(surface->makeImageSnapshot()); REPORTER_ASSERT(reporter, image->isOpaque() == expectedOpaque); }