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

Unified Diff: third_party/WebKit/Source/web/PageOverlay.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
« no previous file with comments | « third_party/WebKit/Source/web/MIDIClientProxy.h ('k') | third_party/WebKit/Source/web/PageOverlay.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/Source/web/MIDIClientProxy.h ('k') | third_party/WebKit/Source/web/PageOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698