Index: third_party/WebKit/Source/core/testing/DummyPageHolder.h |
diff --git a/third_party/WebKit/Source/core/testing/DummyPageHolder.h b/third_party/WebKit/Source/core/testing/DummyPageHolder.h |
index 67257e8631066d63a52f9e6532c3c7067d465243..5704e1ef0956506ca4d46a28f214b2b376f6f229 100644 |
--- a/third_party/WebKit/Source/core/testing/DummyPageHolder.h |
+++ b/third_party/WebKit/Source/core/testing/DummyPageHolder.h |
@@ -37,8 +37,7 @@ |
#include "platform/heap/Handle.h" |
#include "wtf/Allocator.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/OwnPtr.h" |
-#include "wtf/PassOwnPtr.h" |
+#include <memory> |
namespace blink { |
@@ -65,7 +64,7 @@ class DummyPageHolder { |
WTF_MAKE_NONCOPYABLE(DummyPageHolder); |
USING_FAST_MALLOC(DummyPageHolder); |
public: |
- static PassOwnPtr<DummyPageHolder> create( |
+ static std::unique_ptr<DummyPageHolder> create( |
const IntSize& initialViewSize = IntSize(), |
Page::PageClients* = 0, |
FrameLoaderClient* = nullptr, |