Index: Source/core/platform/chromium/support/WebCrypto.cpp |
diff --git a/Source/core/platform/chromium/support/WebCrypto.cpp b/Source/core/platform/chromium/support/WebCrypto.cpp |
index 7d541536835d33cea6f5a4c480dd293e50f3e9ac..79dd95dc1d0622463f4eefa0fe9405b44cc27102 100644 |
--- a/Source/core/platform/chromium/support/WebCrypto.cpp |
+++ b/Source/core/platform/chromium/support/WebCrypto.cpp |
@@ -70,6 +70,12 @@ void WebCryptoResult::completeWithKey(const WebCryptoKey& key) |
reset(); |
} |
+void WebCryptoResult::completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) |
+{ |
+ m_impl->completeWithKeyPair(publicKey, privateKey); |
+ reset(); |
+} |
+ |
WebCryptoResult::WebCryptoResult(const WTF::PassRefPtr<WebCore::CryptoResult>& impl) |
: m_impl(impl) |
{ |