| Index: third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp b/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
|
| index ac6c74bc8e6b662d9faf579b9b90e62330a4afb2..ada2c2d4d1bd8ee0d78b524078379c3a34d00d1a 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
|
| @@ -30,8 +30,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/skia/include/core/SkImage.h"
|
| #include "third_party/skia/include/core/SkSurface.h"
|
| -#include "wtf/PtrUtil.h"
|
| -#include <memory>
|
| +#include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
|
|
| @@ -96,7 +95,7 @@ private:
|
| TEST(ImageLayerChromiumTest, imageLayerContentReset)
|
| {
|
| FakeGraphicsLayerClient client;
|
| - std::unique_ptr<FakeGraphicsLayer> graphicsLayer = wrapUnique(new FakeGraphicsLayer(&client));
|
| + OwnPtr<FakeGraphicsLayer> graphicsLayer = adoptPtr(new FakeGraphicsLayer(&client));
|
| ASSERT_TRUE(graphicsLayer.get());
|
|
|
| ASSERT_FALSE(graphicsLayer->hasContentsLayer());
|
| @@ -118,7 +117,7 @@ TEST(ImageLayerChromiumTest, imageLayerContentReset)
|
| TEST(ImageLayerChromiumTest, opaqueImages)
|
| {
|
| FakeGraphicsLayerClient client;
|
| - std::unique_ptr<FakeGraphicsLayer> graphicsLayer = wrapUnique(new FakeGraphicsLayer(&client));
|
| + OwnPtr<FakeGraphicsLayer> graphicsLayer = adoptPtr(new FakeGraphicsLayer(&client));
|
| ASSERT_TRUE(graphicsLayer.get());
|
|
|
| bool opaque = true;
|
|
|