| Index: components/webcrypto/algorithms/hmac_unittest.cc
|
| diff --git a/components/webcrypto/algorithms/hmac_unittest.cc b/components/webcrypto/algorithms/hmac_unittest.cc
|
| index 4c8a67aa513b69b95a971ed34b3d2687bc71f7cd..f7ae17011d3417a5760cadf6aeedf8d14824ae5a 100644
|
| --- a/components/webcrypto/algorithms/hmac_unittest.cc
|
| +++ b/components/webcrypto/algorithms/hmac_unittest.cc
|
| @@ -3,7 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/logging.h"
|
| -#include "base/stl_util.h"
|
| #include "base/values.h"
|
| #include "components/webcrypto/algorithm_dispatch.h"
|
| #include "components/webcrypto/algorithms/test_helpers.h"
|
| @@ -92,7 +91,7 @@ TEST_F(WebCryptoHmacTest, HMACSampleSets) {
|
| // Ensure truncated signature does not verify by passing one less byte.
|
| EXPECT_EQ(Status::Success(),
|
| Verify(algorithm, key,
|
| - CryptoData(vector_as_array(&output),
|
| + CryptoData(output.data(),
|
| static_cast<unsigned int>(output.size()) - 1),
|
| CryptoData(test_message), &signature_match));
|
| EXPECT_FALSE(signature_match);
|
|
|