Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: net/quic/core/quic_packet_creator.cc

Issue 2543833003: Remove call to SetMaxPacketLength from QuicPacketCreator::OnSerializedPacket, as it will always be … (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1603ae42ea3c8f5ec95b9e2283fe3c5104d1b88..1240beac6ae2373bfc6d86969643d94db849f10d 100644
--- a/net/quic/core/quic_packet_creator.cc
+++ b/net/quic/core/quic_packet_creator.cc
@@ -335,11 +335,6 @@ void QuicPacketCreator::OnSerializedPacket() {
delegate_->OnSerializedPacket(&packet_);
ClearPacket();
- // Maximum packet size may be only enacted while no packet is currently being
- // constructed, so here we have a good opportunity to actually change it.
- if (CanSetMaxPacketLength()) {
- SetMaxPacketLength(max_packet_length_);
- }
}
void QuicPacketCreator::ClearPacket() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698