| Index: components/webcrypto/algorithms/aes_cbc_unittest.cc
|
| diff --git a/components/webcrypto/algorithms/aes_cbc_unittest.cc b/components/webcrypto/algorithms/aes_cbc_unittest.cc
|
| index b246d11f9a4106308db4cbc3852fd89237233a8c..57cff25478b64eac33e19e4d904e907eb720cb1f 100644
|
| --- a/components/webcrypto/algorithms/aes_cbc_unittest.cc
|
| +++ b/components/webcrypto/algorithms/aes_cbc_unittest.cc
|
| @@ -23,9 +23,7 @@ namespace {
|
| blink::WebCryptoAlgorithm CreateAesCbcAlgorithm(
|
| const std::vector<uint8_t>& iv) {
|
| return blink::WebCryptoAlgorithm::adoptParamsAndCreate(
|
| - blink::WebCryptoAlgorithmIdAesCbc,
|
| - new blink::WebCryptoAesCbcParams(iv.data(),
|
| - static_cast<unsigned int>(iv.size())));
|
| + blink::WebCryptoAlgorithmIdAesCbc, new blink::WebCryptoAesCbcParams(iv));
|
| }
|
|
|
| blink::WebCryptoAlgorithm CreateAesCbcKeyGenAlgorithm(
|
|
|