| 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 44f07ea0bce0cc2c8c08ba42de814015abc47354..7fe9409a7dfd40ee4444ef4f72c8f70de01cb4f7 100644
|
| --- a/components/webcrypto/algorithms/aes_cbc_unittest.cc
|
| +++ b/components/webcrypto/algorithms/aes_cbc_unittest.cc
|
| @@ -2,7 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/stl_util.h"
|
| #include "base/values.h"
|
| #include "components/webcrypto/algorithm_dispatch.h"
|
| #include "components/webcrypto/algorithms/test_helpers.h"
|
| @@ -20,7 +19,7 @@ blink::WebCryptoAlgorithm CreateAesCbcAlgorithm(
|
| const std::vector<uint8_t>& iv) {
|
| return blink::WebCryptoAlgorithm::adoptParamsAndCreate(
|
| blink::WebCryptoAlgorithmIdAesCbc,
|
| - new blink::WebCryptoAesCbcParams(vector_as_array(&iv),
|
| + new blink::WebCryptoAesCbcParams(iv.data(),
|
| static_cast<unsigned int>(iv.size())));
|
| }
|
|
|
|
|