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

Unified Diff: third_party/WebKit/Source/platform/network/HTTPHeaderMap.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/network/HTTPHeaderMap.h
diff --git a/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h b/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
index f87f2554e8fc6e991bd4978aa7acb1af796b12f4..320758349a9593681ef1d4783069a08ca7a80b29 100644
--- a/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
+++ b/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
@@ -30,11 +30,11 @@
#include "platform/PlatformExport.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
#include "wtf/text/AtomicString.h"
#include "wtf/text/AtomicStringHash.h"
#include "wtf/text/StringHash.h"
-#include <memory>
#include <utility>
namespace blink {
@@ -49,9 +49,9 @@ public:
~HTTPHeaderMap();
// Gets a copy of the data suitable for passing to another thread.
- std::unique_ptr<CrossThreadHTTPHeaderMapData> copyData() const;
+ PassOwnPtr<CrossThreadHTTPHeaderMapData> copyData() const;
- void adopt(std::unique_ptr<CrossThreadHTTPHeaderMapData>);
+ void adopt(PassOwnPtr<CrossThreadHTTPHeaderMapData>);
typedef HashMap<AtomicString, AtomicString, CaseFoldingHash> MapType;
typedef MapType::AddResult AddResult;
« no previous file with comments | « third_party/WebKit/Source/platform/mojo/MojoHelper.h ('k') | third_party/WebKit/Source/platform/network/HTTPHeaderMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698