Index: Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
diff --git a/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp b/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
index 309ba566974d5d3f484a09f417a2db29114e66ec..b913cb85416fde41a70412917c10c20aed473b19 100644 |
--- a/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
+++ b/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
@@ -56,6 +56,11 @@ WebCryptoAlgorithm::WebCryptoAlgorithm(WebCryptoAlgorithmId id, const char* name |
{ |
} |
+WebCryptoAlgorithm WebCryptoAlgorithm::adoptParamsAndCreate(WebCryptoAlgorithmId id, const char* name, WebCryptoAlgorithmParams* params) |
+{ |
+ return WebCryptoAlgorithm(id, name, adoptPtr(params)); |
+} |
+ |
WebCryptoAlgorithmId WebCryptoAlgorithm::id() const |
{ |
return m_private->id; |