| Index: net/quic/core/quic_protocol.cc
|
| diff --git a/net/quic/core/quic_protocol.cc b/net/quic/core/quic_protocol.cc
|
| index 34f40ec86a5a3c40e4c643e7d667bfddd6567899..adf845e23e8f1bc3be5267cfd482fb23398a10cf 100644
|
| --- a/net/quic/core/quic_protocol.cc
|
| +++ b/net/quic/core/quic_protocol.cc
|
| @@ -713,40 +713,33 @@ ostream& operator<<(ostream& os, const QuicEncryptedPacket& s) {
|
| QuicReceivedPacket::QuicReceivedPacket(const char* buffer,
|
| size_t length,
|
| QuicTime receipt_time)
|
| - : QuicReceivedPacket(buffer,
|
| - length,
|
| - receipt_time,
|
| - false /* owns_buffer */) {}
|
| + : QuicEncryptedPacket(buffer, length),
|
| + receipt_time_(receipt_time),
|
| + ttl_(0) {}
|
|
|
| QuicReceivedPacket::QuicReceivedPacket(const char* buffer,
|
| size_t length,
|
| QuicTime receipt_time,
|
| bool owns_buffer)
|
| - : QuicReceivedPacket(buffer,
|
| - length,
|
| - receipt_time,
|
| - owns_buffer,
|
| - false /* potentially_small_mtu */,
|
| - -1 /* ttl */,
|
| - false /* ttl_valid */) {}
|
| + : QuicEncryptedPacket(buffer, length, owns_buffer),
|
| + receipt_time_(receipt_time),
|
| + ttl_(0) {}
|
|
|
| QuicReceivedPacket::QuicReceivedPacket(const char* buffer,
|
| size_t length,
|
| QuicTime receipt_time,
|
| bool owns_buffer,
|
| - bool potentially_small_mtu,
|
| int ttl,
|
| bool ttl_valid)
|
| : QuicEncryptedPacket(buffer, length, owns_buffer),
|
| receipt_time_(receipt_time),
|
| - ttl_(ttl_valid ? ttl : -1),
|
| - potentially_small_mtu_(potentially_small_mtu) {}
|
| + ttl_(ttl_valid ? ttl : -1) {}
|
|
|
| QuicReceivedPacket* QuicReceivedPacket::Clone() const {
|
| char* buffer = new char[this->length()];
|
| memcpy(buffer, this->data(), this->length());
|
| return new QuicReceivedPacket(buffer, this->length(), receipt_time(), true,
|
| - potentially_small_mtu(), ttl(), ttl() >= 0);
|
| + ttl(), ttl() >= 0);
|
| }
|
|
|
| ostream& operator<<(ostream& os, const QuicReceivedPacket& s) {
|
|
|