Index: content/child/webcrypto/webcrypto_impl.cc |
diff --git a/content/child/webcrypto/webcrypto_impl.cc b/content/child/webcrypto/webcrypto_impl.cc |
index 076df0d4a3e14296ef9ca7f06f6207f9d6fffd60..b5db4a70aaf36684b73f0e35e8b3f34a2c5f2dfe 100644 |
--- a/content/child/webcrypto/webcrypto_impl.cc |
+++ b/content/child/webcrypto/webcrypto_impl.cc |
@@ -5,6 +5,7 @@ |
#include "content/child/webcrypto/webcrypto_impl.h" |
#include "base/logging.h" |
+#include "base/memory/scoped_ptr.h" |
#include "content/child/webcrypto/crypto_data.h" |
#include "content/child/webcrypto/shared_crypto.h" |
#include "content/child/webcrypto/status.h" |
@@ -248,6 +249,11 @@ bool WebCryptoImpl::digestSynchronous( |
.IsSuccess(); |
} |
+blink::WebCryptoDigestor* WebCryptoImpl::createDigestor( |
+ const blink::WebCryptoAlgorithmId algorithm_id) { |
+ return webcrypto::CreateDigestor(algorithm_id).release(); |
+} |
+ |
bool WebCryptoImpl::deserializeKeyForClone( |
const blink::WebCryptoKeyAlgorithm& algorithm, |
blink::WebCryptoKeyType type, |