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

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

Issue 105433002: Cleanup: Rename NumberOfAlgorithmOperations --> LastAlgorithmOperation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/NormalizeAlgorithm.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/NormalizeAlgorithm.cpp
diff --git a/Source/modules/crypto/NormalizeAlgorithm.cpp b/Source/modules/crypto/NormalizeAlgorithm.cpp
index ec458057bd7ffa58188ba6dc7a8791acbb3b8458..d5d08e49c8540eae9c08c0d105fa70c72e8d1d04 100644
--- a/Source/modules/crypto/NormalizeAlgorithm.cpp
+++ b/Source/modules/crypto/NormalizeAlgorithm.cpp
@@ -130,7 +130,7 @@ struct AlgorithmInfo {
blink::WebCryptoAlgorithmId algorithmId;
const char* algorithmName;
- AlgorithmParamsForOperation paramsForOperation[NumberOfAlgorithmOperations];
+ AlgorithmParamsForOperation paramsForOperation[LastAlgorithmOperation + 1];
};
// AlgorithmRegistry enumerates each of the different algorithms and its
« no previous file with comments | « Source/modules/crypto/NormalizeAlgorithm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698