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

Unified Diff: third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.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/public/platform/WebCryptoKeyAlgorithm.h
diff --git a/third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h b/third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h
index df96d303b0d132250c7bcd03db1a5f9eb649b8d7..113670d23d3ad89a83bfcb226aa185855f0e6054 100644
--- a/third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h
+++ b/third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h
@@ -37,7 +37,7 @@
#include "WebPrivatePtr.h"
#if INSIDE_BLINK
-#include "wtf/PassOwnPtr.h"
+#include <memory>
#endif
namespace blink {
@@ -53,7 +53,7 @@ public:
WebCryptoKeyAlgorithm() { }
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebCryptoKeyAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoKeyAlgorithmParams>);
+ BLINK_PLATFORM_EXPORT WebCryptoKeyAlgorithm(WebCryptoAlgorithmId, std::unique_ptr<WebCryptoKeyAlgorithmParams>);
#endif
// FIXME: Delete this in favor of the create*() functions.
« no previous file with comments | « third_party/WebKit/public/platform/WebCryptoAlgorithm.h ('k') | third_party/WebKit/public/platform/WebDataConsumerHandle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698