| Index: components/webcrypto/algorithms/aes_gcm_unittest.cc
|
| diff --git a/components/webcrypto/algorithms/aes_gcm_unittest.cc b/components/webcrypto/algorithms/aes_gcm_unittest.cc
|
| index 8b03a5352f7f08e9a65884f312526d3d25e1835b..d0a851b0566feccafb0240af098bf24936dad651 100644
|
| --- a/components/webcrypto/algorithms/aes_gcm_unittest.cc
|
| +++ b/components/webcrypto/algorithms/aes_gcm_unittest.cc
|
| @@ -26,11 +26,8 @@ blink::WebCryptoAlgorithm CreateAesGcmAlgorithm(
|
| unsigned int tag_length_bits) {
|
| return blink::WebCryptoAlgorithm::adoptParamsAndCreate(
|
| blink::WebCryptoAlgorithmIdAesGcm,
|
| - new blink::WebCryptoAesGcmParams(
|
| - iv.data(), static_cast<unsigned int>(iv.size()), true,
|
| - additional_data.data(),
|
| - static_cast<unsigned int>(additional_data.size()), true,
|
| - tag_length_bits));
|
| + new blink::WebCryptoAesGcmParams(iv, true, additional_data, true,
|
| + tag_length_bits));
|
| }
|
|
|
| blink::WebCryptoAlgorithm CreateAesGcmKeyGenAlgorithm(
|
|
|