Index: third_party/WebKit/Source/web/PageOverlay.h |
diff --git a/third_party/WebKit/Source/web/PageOverlay.h b/third_party/WebKit/Source/web/PageOverlay.h |
index c027ea2363dc9aad72bc73fc363380021d5a059f..e261c4f20b026b23f637c84fc0dcb9b4dc9d2e07 100644 |
--- a/third_party/WebKit/Source/web/PageOverlay.h |
+++ b/third_party/WebKit/Source/web/PageOverlay.h |
@@ -33,9 +33,8 @@ |
#include "platform/graphics/GraphicsLayerClient.h" |
#include "platform/graphics/paint/DisplayItemClient.h" |
#include "web/WebExport.h" |
-#include "wtf/OwnPtr.h" |
-#include "wtf/PassOwnPtr.h" |
#include "wtf/text/WTFString.h" |
+#include <memory> |
namespace blink { |
@@ -59,7 +58,7 @@ public: |
virtual ~Delegate() { } |
}; |
- static PassOwnPtr<PageOverlay> create(WebViewImpl*, PageOverlay::Delegate*); |
+ static std::unique_ptr<PageOverlay> create(WebViewImpl*, PageOverlay::Delegate*); |
~PageOverlay(); |
@@ -83,7 +82,7 @@ private: |
WebViewImpl* m_viewImpl; |
Persistent<PageOverlay::Delegate> m_delegate; |
- OwnPtr<GraphicsLayer> m_layer; |
+ std::unique_ptr<GraphicsLayer> m_layer; |
}; |
} // namespace blink |