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

Unified Diff: Source/modules/crypto/AesCtrParams.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 | « no previous file | Source/modules/crypto/AesKeyGenParams.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/AesCtrParams.cpp
diff --git a/Source/modules/crypto/AesCtrParams.cpp b/Source/modules/crypto/AesCtrParams.cpp
index 8cf77049511b6d6586a7777391557a301f04dce3..9c846cb2fdf891264bd8de0ce4f1302e5c8ec555 100644
--- a/Source/modules/crypto/AesCtrParams.cpp
+++ b/Source/modules/crypto/AesCtrParams.cpp
@@ -46,7 +46,7 @@ Uint8Array* AesCtrParams::counter()
unsigned char AesCtrParams::length()
{
- return m_algorithm.aesCtrParams()->length();
+ return m_algorithm.aesCtrParams()->lengthBits();
}
AesCtrParams::AesCtrParams(const blink::WebCryptoAlgorithm& algorithm)
« no previous file with comments | « no previous file | Source/modules/crypto/AesKeyGenParams.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698