| Index: third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
|
| index 729c88f19067bfa266afe5d506a122a12817d8c9..e3b2240f07d9fc15d6c19232dc5c56d45a5a13db 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
|
| @@ -66,7 +66,7 @@ class SkiaImageDecoder final : public SkImageDeserializer {
|
| RefPtr<SegmentReader> segmentReader =
|
| SegmentReader::createFromSkData(SkData::MakeWithoutCopy(data, length));
|
| std::unique_ptr<ImageDecoder> imageDecoder = ImageDecoder::create(
|
| - segmentReader.release(), true, ImageDecoder::AlphaPremultiplied,
|
| + std::move(segmentReader), true, ImageDecoder::AlphaPremultiplied,
|
| ColorBehavior::ignore());
|
| if (!imageDecoder)
|
| return nullptr;
|
|
|