| Index: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp
|
| index 9e061ecc56dfac03249011e6dbc2981377ef2ae4..31b0a3f7ebb3308774d91a9cc2732e12ca1e9db7 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp
|
| @@ -6,14 +6,16 @@
|
|
|
| #include "platform/image-decoders/ImageDecoderTestHelpers.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| namespace {
|
|
|
| -PassOwnPtr<ImageDecoder> createDecoder()
|
| +std::unique_ptr<ImageDecoder> createDecoder()
|
| {
|
| - return adoptPtr(new ICOImageDecoder(ImageDecoder::AlphaNotPremultiplied, ImageDecoder::GammaAndColorProfileApplied, ImageDecoder::noDecodedImageByteLimit));
|
| + return wrapUnique(new ICOImageDecoder(ImageDecoder::AlphaNotPremultiplied, ImageDecoder::GammaAndColorProfileApplied, ImageDecoder::noDecodedImageByteLimit));
|
| }
|
|
|
| }
|
|
|