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

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

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Created 4 years, 3 months 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
Index: net/quic/core/quic_packet_generator.cc
diff --git a/net/quic/core/quic_packet_generator.cc b/net/quic/core/quic_packet_generator.cc
index b88c970bf4cb577f8d323f49988fea773c2a2401..8f43aad5cc6d0374208ab0c73f133ed610a4bc67 100644
--- a/net/quic/core/quic_packet_generator.cc
+++ b/net/quic/core/quic_packet_generator.cc
@@ -137,11 +137,10 @@ QuicConsumedData QuicPacketGenerator::ConsumeDataFastPath(
delegate_->ShouldGeneratePacket(HAS_RETRANSMITTABLE_DATA,
NOT_HANDSHAKE)) {
// Serialize and encrypt the packet.
- ALIGNAS(64) char encrypted_buffer[kMaxPacketSize];
size_t bytes_consumed = 0;
packet_creator_.CreateAndSerializeStreamFrame(
id, iov, total_bytes_consumed, offset + total_bytes_consumed, fin,
- listener, encrypted_buffer, kMaxPacketSize, &bytes_consumed);
+ listener, &bytes_consumed);
total_bytes_consumed += bytes_consumed;
}

Powered by Google App Engine
This is Rietveld 408576698