| Index: net/quic/crypto/null_decrypter.cc
|
| diff --git a/net/quic/crypto/null_decrypter.cc b/net/quic/crypto/null_decrypter.cc
|
| index c58e7b07c0b2ccac87cc1bb9394d7f8ebbac7e31..77aee4c8152f4621bd6f3bc3db970e6c4469261f 100644
|
| --- a/net/quic/crypto/null_decrypter.cc
|
| +++ b/net/quic/crypto/null_decrypter.cc
|
| @@ -53,7 +53,7 @@ QuicData* NullDecrypter::DecryptPacket(QuicPacketSequenceNumber /*seq_number*/,
|
|
|
| uint128 hash;
|
| if (!ReadHash(&reader, &hash)) {
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| StringPiece plaintext = reader.ReadRemainingPayload();
|
| @@ -63,7 +63,7 @@ QuicData* NullDecrypter::DecryptPacket(QuicPacketSequenceNumber /*seq_number*/,
|
| plaintext.AppendToString(&buffer);
|
|
|
| if (hash != ComputeHash(buffer)) {
|
| - return NULL;
|
| + return nullptr;
|
| }
|
| return new QuicData(plaintext.data(), plaintext.length());
|
| }
|
|
|