Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Unified Diff: third_party/WebKit/Source/core/testing/DummyPageHolder.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698