| Index: net/quic/core/quic_packet_creator.cc
|
| diff --git a/net/quic/core/quic_packet_creator.cc b/net/quic/core/quic_packet_creator.cc
|
| index 847ff6ebd63872277dc7b69f8aab9286c1c67acf..a98afd25865c9301a2b6f740851065bb3cb759af 100644
|
| --- a/net/quic/core/quic_packet_creator.cc
|
| +++ b/net/quic/core/quic_packet_creator.cc
|
| @@ -106,10 +106,10 @@ void QuicPacketCreator::StopSendingVersion() {
|
| }
|
|
|
| void QuicPacketCreator::SetDiversificationNonce(
|
| - const DiversificationNonce nonce) {
|
| + const DiversificationNonce& nonce) {
|
| DCHECK(!have_diversification_nonce_);
|
| have_diversification_nonce_ = true;
|
| - memcpy(&diversification_nonce_, nonce, sizeof(diversification_nonce_));
|
| + diversification_nonce_ = nonce;
|
| }
|
|
|
| void QuicPacketCreator::UpdatePacketNumberLength(
|
|
|