Index: third_party/WebKit/Source/platform/Crypto.h |
diff --git a/third_party/WebKit/Source/platform/Crypto.h b/third_party/WebKit/Source/platform/Crypto.h |
index 891d685db199258a9f2607ff4b593ea39155f5a3..388462e1f174a5650bf9cfd410d57ed47eb9548f 100644 |
--- a/third_party/WebKit/Source/platform/Crypto.h |
+++ b/third_party/WebKit/Source/platform/Crypto.h |
@@ -17,6 +17,7 @@ |
#include "wtf/HashSet.h" |
#include "wtf/StringHasher.h" |
#include "wtf/Vector.h" |
+#include <memory> |
namespace blink { |
@@ -32,7 +33,7 @@ enum HashAlgorithm { |
}; |
PLATFORM_EXPORT bool computeDigest(HashAlgorithm, const char* digestable, size_t length, DigestValue& digestResult); |
-PLATFORM_EXPORT PassOwnPtr<WebCryptoDigestor> createDigestor(HashAlgorithm); |
+PLATFORM_EXPORT std::unique_ptr<WebCryptoDigestor> createDigestor(HashAlgorithm); |
PLATFORM_EXPORT void finishDigestor(WebCryptoDigestor*, DigestValue& digestResult); |
} // namespace blink |