Index: net/quic/core/crypto/quic_crypto_server_config_test.cc |
diff --git a/net/quic/core/crypto/quic_crypto_server_config_test.cc b/net/quic/core/crypto/quic_crypto_server_config_test.cc |
index 6c1407661cdf62ebc953cb1247c4fe02729139e4..381c82b5cb8b4225fbd41a944b5e3de605be140b 100644 |
--- a/net/quic/core/crypto/quic_crypto_server_config_test.cc |
+++ b/net/quic/core/crypto/quic_crypto_server_config_test.cc |
@@ -39,10 +39,8 @@ TEST_F(QuicCryptoServerConfigTest, ServerConfig) { |
// The default configuration should have AES-GCM and at least one ChaCha20 |
// cipher. |
- const QuicTag* aead_tags; |
- size_t aead_len; |
- ASSERT_EQ(QUIC_NO_ERROR, message->GetTaglist(kAEAD, &aead_tags, &aead_len)); |
- std::vector<QuicTag> aead(aead_tags, aead_tags + aead_len); |
+ QuicTagVector aead; |
+ ASSERT_EQ(QUIC_NO_ERROR, message->GetTaglist(kAEAD, &aead)); |
EXPECT_THAT(aead, ::testing::Contains(kAESG)); |
EXPECT_LE(1u, aead.size()); |
} |