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