Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp |
index 80bf2501d316de7d7584ea0795125992ecfff902..f9677b3db100dfec8dbe3c19e4e3518f7fdc3e13 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp |
@@ -9,7 +9,6 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/skia/include/core/SkImage.h" |
#include "wtf/RefPtr.h" |
-#include <memory> |
namespace blink { |
@@ -35,7 +34,7 @@ static void mixImages(const char* fileName, size_t bytesForFirstFrame, size_t la |
RefPtr<SharedBuffer> file = readFile(fileName); |
ASSERT_NE(file, nullptr); |
- std::unique_ptr<DeferredImageDecoder> decoder = DeferredImageDecoder::create(*file.get(), ImageDecoder::AlphaPremultiplied, ImageDecoder::GammaAndColorProfileIgnored); |
+ OwnPtr<DeferredImageDecoder> decoder = DeferredImageDecoder::create(*file.get(), ImageDecoder::AlphaPremultiplied, ImageDecoder::GammaAndColorProfileIgnored); |
ASSERT_TRUE(decoder.get()); |
RefPtr<SharedBuffer> partialFile = SharedBuffer::create(file->data(), bytesForFirstFrame); |