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

Unified Diff: third_party/WebKit/public/platform/WebCryptoAlgorithm.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/WebCryptoAlgorithm.h
diff --git a/third_party/WebKit/public/platform/WebCryptoAlgorithm.h b/third_party/WebKit/public/platform/WebCryptoAlgorithm.h
index 7df6f3aeddb7e45328dd32dc18f53e1c8500aca6..408cb7c0e602f17acdcb892142ea6aaf304ad81f 100644
--- a/third_party/WebKit/public/platform/WebCryptoAlgorithm.h
+++ b/third_party/WebKit/public/platform/WebCryptoAlgorithm.h
@@ -35,7 +35,7 @@
#include "WebPrivatePtr.h"
#if INSIDE_BLINK
-#include "wtf/PassOwnPtr.h"
+#include <memory>
#endif
namespace blink {
@@ -153,7 +153,7 @@ class WebCryptoAlgorithm {
public:
#if INSIDE_BLINK
WebCryptoAlgorithm() { }
- BLINK_PLATFORM_EXPORT WebCryptoAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoAlgorithmParams>);
+ BLINK_PLATFORM_EXPORT WebCryptoAlgorithm(WebCryptoAlgorithmId, std::unique_ptr<WebCryptoAlgorithmParams>);
#endif
BLINK_PLATFORM_EXPORT static WebCryptoAlgorithm createNull();

Powered by Google App Engine
This is Rietveld 408576698