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

Unified Diff: third_party/WebKit/Source/platform/Crypto.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/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
« no previous file with comments | « third_party/WebKit/Source/platform/CrossThreadCopier.cpp ('k') | third_party/WebKit/Source/platform/Crypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698