| Index: components/webcrypto/webcrypto_util.cc
|
| diff --git a/components/webcrypto/webcrypto_util.cc b/components/webcrypto/webcrypto_util.cc
|
| index 2e80c1f8afe9288472b1edbe12628b18e852fc3c..5ae0e5b99145e04eece7e2f67db85845119a94d2 100644
|
| --- a/components/webcrypto/webcrypto_util.cc
|
| +++ b/components/webcrypto/webcrypto_util.cc
|
| @@ -95,12 +95,6 @@ bool ContainsKeyUsages(blink::WebCryptoKeyUsageMask a,
|
| return (a & b) == b;
|
| }
|
|
|
| -// TODO(eroman): Move this helper to WebCryptoKey.
|
| -bool KeyUsageAllows(const blink::WebCryptoKey& key,
|
| - const blink::WebCryptoKeyUsage usage) {
|
| - return ((key.usages() & usage) != 0);
|
| -}
|
| -
|
| // The WebCrypto spec defines the default value for the tag length, as well as
|
| // the allowed values for tag length.
|
| Status GetAesGcmTagLengthInBits(const blink::WebCryptoAesGcmParams* params,
|
|
|