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/src/c/sk_surface.cpp b/src/c/sk_surface.cpp index 8dd7a6c..79036f7 100644 --- a/src/c/sk_surface.cpp +++ b/src/c/sk_surface.cpp
@@ -463,7 +463,7 @@ sk_image_t* sk_surface_new_image_snapshot(sk_surface_t* csurf) { SkSurface* surf = (SkSurface*)csurf; - return (sk_image_t*)surf->newImageSnapshot(); + return (sk_image_t*)surf->makeImageSnapshot().release(); } ///////////////////////////////////////////////////////////////////////////////////////////