Index: net/quic/core/quic_packet_generator.h |
diff --git a/net/quic/core/quic_packet_generator.h b/net/quic/core/quic_packet_generator.h |
index 08316f70895e7a8629a778ed9defd7dce85083dd..c90e0227467e75cd116223f9ea97bb49ad0be27f 100644 |
--- a/net/quic/core/quic_packet_generator.h |
+++ b/net/quic/core/quic_packet_generator.h |
@@ -132,7 +132,7 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator { |
// SetDiversificationNonce sets the nonce that will be sent in each public |
// header of packets encrypted at the initial encryption level. Should only |
// be called by servers. |
- void SetDiversificationNonce(const DiversificationNonce nonce); |
+ void SetDiversificationNonce(const DiversificationNonce& nonce); |
// Creates a version negotiation packet which supports |supported_versions|. |
// Caller owns the created packet. Also, sets the entropy hash of the |