summaryrefslogtreecommitdiffstats
path: root/content/child/webcrypto/structured_clone.cc
diff options
context:
space:
mode:
authoreroman <eroman@chromium.org>2014-10-21 12:13:31 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 19:13:52 +0000
commit0e1d34edba6a5d8f7fe43c5b675880a36f4b3861 (patch)
treec3b200f97725a05623ca3fafe519019a1cd32a44 /content/child/webcrypto/structured_clone.cc
parent1f125f14e0d2cb8980049baf43f1cb34d7307a4e (diff)
downloadchromium_src-0e1d34edba6a5d8f7fe43c5b675880a36f4b3861.zip
chromium_src-0e1d34edba6a5d8f7fe43c5b675880a36f4b3861.tar.gz
chromium_src-0e1d34edba6a5d8f7fe43c5b675880a36f4b3861.tar.bz2
Cleanup: rename usage_mask --> usages.
This is a simple search and replace: s/usage_mask/usages/g There was some inconsistenty on when variables were called "usages" versus "usage_mask"; now they all read "usages". Review URL: https://codereview.chromium.org/670773003 Cr-Commit-Position: refs/heads/master@{#300533}
Diffstat (limited to 'content/child/webcrypto/structured_clone.cc')
-rw-r--r--content/child/webcrypto/structured_clone.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/child/webcrypto/structured_clone.cc b/content/child/webcrypto/structured_clone.cc
index 6bbf6d3..68d449a 100644
--- a/content/child/webcrypto/structured_clone.cc
+++ b/content/child/webcrypto/structured_clone.cc
@@ -109,7 +109,7 @@ bool SerializeKeyForClone(const blink::WebCryptoKey& key,
bool DeserializeKeyForClone(const blink::WebCryptoKeyAlgorithm& algorithm,
blink::WebCryptoKeyType type,
bool extractable,
- blink::WebCryptoKeyUsageMask usage_mask,
+ blink::WebCryptoKeyUsageMask usages,
const CryptoData& key_data,
blink::WebCryptoKey* key) {
// TODO(eroman): This should not call into the platform crypto layer.
@@ -124,7 +124,7 @@ bool DeserializeKeyForClone(const blink::WebCryptoKeyAlgorithm& algorithm,
key_data,
KeyAlgorithmToImportAlgorithm(algorithm),
extractable,
- usage_mask,
+ usages,
key);
if (status.IsError())
return false;