| 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 cdf740b2784d59b9517c74e35652de7ef4f8c156..24973469e7ba7b0b7c9a4fc6ab04445677ab06f3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
|
| @@ -66,7 +66,7 @@ static bool decodeBitmap(const void* data, size_t length, SkBitmap* result)
|
| return false;
|
|
|
| // No need to copy the data; this decodes immediately.
|
| - RefPtr<SegmentReader> segmentReader = SegmentReader::createFromSkData(adoptRef(SkData::NewWithoutCopy(data, length)));
|
| + RefPtr<SegmentReader> segmentReader = SegmentReader::createFromSkData(SkData::MakeWithoutCopy(data, length));
|
| imageDecoder->setData(segmentReader.release(), true);
|
| ImageFrame* frame = imageDecoder->frameBufferAtIndex(0);
|
| if (!frame)
|
|
|