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

Unified Diff: third_party/WebKit/Source/web/AssociatedURLLoader.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/web/AssociatedURLLoader.h
diff --git a/third_party/WebKit/Source/web/AssociatedURLLoader.h b/third_party/WebKit/Source/web/AssociatedURLLoader.h
index 234b8b6eadb946e1f9df0eb0eb7527a2771178e3..990d43caf36da416bff2485a42a77c4e56d75c5b 100644
--- a/third_party/WebKit/Source/web/AssociatedURLLoader.h
+++ b/third_party/WebKit/Source/web/AssociatedURLLoader.h
@@ -35,8 +35,8 @@
#include "public/platform/WebURLLoader.h"
#include "public/web/WebURLLoaderOptions.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
+#include <memory>
namespace blink {
@@ -83,8 +83,8 @@ private:
// An adapter which converts the DocumentThreadableLoaderClient method
// calls into the WebURLLoaderClient method calls.
- OwnPtr<ClientAdapter> m_clientAdapter;
- OwnPtr<DocumentThreadableLoader> m_loader;
+ std::unique_ptr<ClientAdapter> m_clientAdapter;
+ std::unique_ptr<DocumentThreadableLoader> m_loader;
// A ContextLifecycleObserver for cancelling |m_loader| when the Document
// is detached.
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp ('k') | third_party/WebKit/Source/web/AssociatedURLLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698