Index: Source/modules/crypto/AesKeyGenParams.cpp |
diff --git a/Source/modules/crypto/AesKeyGenParams.cpp b/Source/modules/crypto/AesKeyGenParams.cpp |
index f4e280769df677eaecaf29ade95c043c2842f00c..a363076c25738d4464f23fbd72c7ecbca4e2dc7a 100644 |
--- a/Source/modules/crypto/AesKeyGenParams.cpp |
+++ b/Source/modules/crypto/AesKeyGenParams.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
unsigned short AesKeyGenParams::length() const |
{ |
- return m_algorithm.aesKeyGenParams()->length(); |
+ return m_algorithm.aesKeyGenParams()->lengthBits(); |
} |
AesKeyGenParams::AesKeyGenParams(const blink::WebCryptoAlgorithm& algorithm) |