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

Unified Diff: third_party/WebKit/Source/platform/CrossThreadCopier.cpp

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/platform/CrossThreadCopier.h ('k') | third_party/WebKit/Source/platform/Crypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/CrossThreadCopier.cpp
diff --git a/third_party/WebKit/Source/platform/CrossThreadCopier.cpp b/third_party/WebKit/Source/platform/CrossThreadCopier.cpp
index f5b4c797c1371ebe635b3197d0232772656aead8..80337ad770838d3bfa90364571a2a4389cdad5fb 100644
--- a/third_party/WebKit/Source/platform/CrossThreadCopier.cpp
+++ b/third_party/WebKit/Source/platform/CrossThreadCopier.cpp
@@ -35,6 +35,7 @@
#include "platform/network/ResourceResponse.h"
#include "platform/weborigin/KURL.h"
#include "wtf/text/WTFString.h"
+#include <memory>
namespace blink {
@@ -113,11 +114,11 @@ static_assert((std::is_same<
>::value),
"Raw pointer RefCounted test");
-// Verify that PassOwnPtr gets passed through.
+// Verify that std::unique_ptr gets passed through.
static_assert((std::is_same<
- PassOwnPtr<float>,
- CrossThreadCopier<PassOwnPtr<float>>::Type
+ std::unique_ptr<float>,
+ CrossThreadCopier<std::unique_ptr<float>>::Type
>::value),
- "PassOwnPtr test");
+ "std::unique_ptr test");
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/CrossThreadCopier.h ('k') | third_party/WebKit/Source/platform/Crypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698