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

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

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
« 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 80337ad770838d3bfa90364571a2a4389cdad5fb..f5b4c797c1371ebe635b3197d0232772656aead8 100644
--- a/third_party/WebKit/Source/platform/CrossThreadCopier.cpp
+++ b/third_party/WebKit/Source/platform/CrossThreadCopier.cpp
@@ -35,7 +35,6 @@
#include "platform/network/ResourceResponse.h"
#include "platform/weborigin/KURL.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace blink {
@@ -114,11 +113,11 @@ static_assert((std::is_same<
>::value),
"Raw pointer RefCounted test");
-// Verify that std::unique_ptr gets passed through.
+// Verify that PassOwnPtr gets passed through.
static_assert((std::is_same<
- std::unique_ptr<float>,
- CrossThreadCopier<std::unique_ptr<float>>::Type
+ PassOwnPtr<float>,
+ CrossThreadCopier<PassOwnPtr<float>>::Type
>::value),
- "std::unique_ptr test");
+ "PassOwnPtr 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