Index: Source/modules/crypto/Algorithm.cpp |
diff --git a/Source/modules/crypto/Algorithm.cpp b/Source/modules/crypto/Algorithm.cpp |
index 4c6ec4f46355c2b06b940f0744666da901354a32..9ffbf6fb45f6c4156b5697a23ae34efa408991d6 100644 |
--- a/Source/modules/crypto/Algorithm.cpp |
+++ b/Source/modules/crypto/Algorithm.cpp |
@@ -35,6 +35,7 @@ |
#include "modules/crypto/AesKeyGenParams.h" |
#include "modules/crypto/HmacKeyParams.h" |
#include "modules/crypto/HmacParams.h" |
+#include "modules/crypto/NormalizeAlgorithm.h" |
#include "modules/crypto/RsaKeyGenParams.h" |
#include "modules/crypto/RsaSsaParams.h" |
#include "wtf/text/WTFString.h" |
@@ -71,7 +72,7 @@ Algorithm::Algorithm(const WebKit::WebCryptoAlgorithm& algorithm) |
String Algorithm::name() |
{ |
- return m_algorithm.name(); |
+ return algorithmIdToName(m_algorithm.id()); |
} |
} // namespace WebCore |