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

Unified Diff: third_party/WebKit/Source/platform/weborigin/KURL.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/platform/weborigin/KURL.h
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.h b/third_party/WebKit/Source/platform/weborigin/KURL.h
index ce7c7306ee4428093bb4372f3617bd6dcd6f89cb..abb207fdcebdf796b4717d6072272071f0aad9a6 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.h
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.h
@@ -32,8 +32,8 @@
#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/HashTableDeletedValueType.h"
-#include "wtf/OwnPtr.h"
#include "wtf/text/WTFString.h"
+#include <memory>
namespace WTF {
class TextEncoding;
@@ -202,7 +202,7 @@ private:
bool m_protocolIsInHTTPFamily;
url::Parsed m_parsed;
String m_string;
- OwnPtr<KURL> m_innerURL;
+ std::unique_ptr<KURL> m_innerURL;
};
PLATFORM_EXPORT bool operator==(const KURL&, const KURL&);

Powered by Google App Engine
This is Rietveld 408576698