| Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
|
| index 160ecd439c10e0ffc56a7cbc3f685abdacd469c0..b7f8c459998edffdcb5a6100df03c8abf61aa74c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
|
| @@ -32,7 +32,6 @@
|
| #include "platform/image-decoders/ImageDecoder.h"
|
| #include "platform/image-decoders/SegmentReader.h"
|
| #include "third_party/skia/include/core/SkData.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -110,7 +109,7 @@ SkImageGenerator* DecodingImageGenerator::create(SkData* data)
|
| {
|
| // We just need the size of the image, so we have to temporarily create an ImageDecoder. Since
|
| // we only need the size, it doesn't really matter about premul or not, or gamma settings.
|
| - std::unique_ptr<ImageDecoder> decoder = ImageDecoder::create(static_cast<const char*>(data->data()), data->size(),
|
| + OwnPtr<ImageDecoder> decoder = ImageDecoder::create(static_cast<const char*>(data->data()), data->size(),
|
| ImageDecoder::AlphaPremultiplied, ImageDecoder::GammaAndColorProfileApplied);
|
| if (!decoder)
|
| return 0;
|
|
|