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

Unified Diff: third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.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/public/platform/WebCryptoKeyAlgorithm.h
diff --git a/third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h b/third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h
index 113670d23d3ad89a83bfcb226aa185855f0e6054..df96d303b0d132250c7bcd03db1a5f9eb649b8d7 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 <memory>
+#include "wtf/PassOwnPtr.h"
#endif
namespace blink {
@@ -53,7 +53,7 @@ public:
WebCryptoKeyAlgorithm() { }
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebCryptoKeyAlgorithm(WebCryptoAlgorithmId, std::unique_ptr<WebCryptoKeyAlgorithmParams>);
+ BLINK_PLATFORM_EXPORT WebCryptoKeyAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<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