| Index: content/child/webcrypto/webcrypto_util.cc
|
| diff --git a/content/child/webcrypto/webcrypto_util.cc b/content/child/webcrypto/webcrypto_util.cc
|
| index 410acdda7383eb3e7a2e275b323bcc1365e10d2c..108c3bc11f825c069fcfffc0ac2a8f4dcc88d8d0 100644
|
| --- a/content/child/webcrypto/webcrypto_util.cc
|
| +++ b/content/child/webcrypto/webcrypto_util.cc
|
| @@ -222,7 +222,7 @@ Status VerifyAesKeyLengthForImport(unsigned int keylen_bytes) {
|
| Status CheckKeyCreationUsages(blink::WebCryptoKeyUsageMask all_possible_usages,
|
| blink::WebCryptoKeyUsageMask actual_usages) {
|
| if (!ContainsKeyUsages(all_possible_usages, actual_usages))
|
| - return Status::ErrorCreateKeyBadUsages();
|
| + return Status::SyntaxError("usages");
|
| return Status::Success();
|
| }
|
|
|
|
|