| Index: content/child/webcrypto/structured_clone.cc
|
| diff --git a/content/child/webcrypto/structured_clone.cc b/content/child/webcrypto/structured_clone.cc
|
| index 6bbf6d3255738ba75052522d2282254d694c3efb..68d449a065ecf7186b4ba17e587a9293aeb7ee57 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;
|
|
|