Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1513)

Unified Diff: Source/modules/crypto/AesKeyGenParams.cpp

Issue 109393003: [webcrypto] Refactor some of the algorithm parameter names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Improve a comment Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/crypto/AesCtrParams.cpp ('k') | Source/modules/crypto/HmacKeyParams.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/modules/crypto/AesCtrParams.cpp ('k') | Source/modules/crypto/HmacKeyParams.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698