diff options
Diffstat (limited to 'gm/animatedGif.cpp')
-rw-r--r-- | gm/animatedGif.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/animatedGif.cpp b/gm/animatedGif.cpp index fc5217fa8d..5686193971 100644 --- a/gm/animatedGif.cpp +++ b/gm/animatedGif.cpp @@ -123,7 +123,7 @@ private: return false; } - fCodec.reset(SkCodec::NewFromStream(stream.release())); + fCodec = SkCodec::MakeFromStream(std::move(stream)); if (!fCodec) { SkDebugf("Could create codec from %s", FLAGS_animatedGif[0]); return false; |