Index: Source/modules/crypto/KeyAlgorithm.cpp |
diff --git a/Source/modules/crypto/KeyAlgorithm.cpp b/Source/modules/crypto/KeyAlgorithm.cpp |
index ebcbcd0c3237657a4b18bc504ff2ea42a9081c66..05495f9556615e20f74d5a40673c83b9b7ee172e 100644 |
--- a/Source/modules/crypto/KeyAlgorithm.cpp |
+++ b/Source/modules/crypto/KeyAlgorithm.cpp |
@@ -36,6 +36,7 @@ |
#include "modules/crypto/NormalizeAlgorithm.h" |
#include "modules/crypto/RsaHashedKeyAlgorithm.h" |
#include "modules/crypto/RsaKeyAlgorithm.h" |
+#include "public/platform/WebCryptoAlgorithm.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
@@ -75,7 +76,7 @@ KeyAlgorithm::KeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) |
String KeyAlgorithm::name() |
{ |
- return algorithmIdToName(m_algorithm.id()); |
+ return blink::WebCryptoAlgorithm::idToName(m_algorithm.id()); |
} |
bool KeyAlgorithm::isAesKeyAlgorithm() const |