Index: net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc |
diff --git a/net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc b/net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc |
index c1dabedb916939f430321b8d436e32b5a3980017..2378d3a8aee54adc4bab3d5feda725a0173297ba 100644 |
--- a/net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc |
+++ b/net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc |
@@ -219,7 +219,7 @@ Aes128Gcm12Decrypter::Aes128Gcm12Decrypter() |
Aes128Gcm12Decrypter::~Aes128Gcm12Decrypter() {} |
void Aes128Gcm12Decrypter::FillAeadParams(StringPiece nonce, |
- StringPiece associated_data, |
+ const StringPiece& associated_data, |
size_t auth_tag_size, |
AeadParams* aead_params) const { |
aead_params->len = sizeof(aead_params->data.gcm_params); |