Index: net/quic/quic_packet_generator.h |
diff --git a/net/quic/quic_packet_generator.h b/net/quic/quic_packet_generator.h |
index 923d01e32bddbc0ed89d7ba38ee4a46e1f30c382..f782e3c6c2ec8a6370e38811aa7780d5bec26fb2 100644 |
--- a/net/quic/quic_packet_generator.h |
+++ b/net/quic/quic_packet_generator.h |
@@ -258,9 +258,10 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator { |
bool CanSendWithNextPendingFrameAddition() const; |
// Add exactly one pending frame, preferring ack frames over control frames. |
bool AddNextPendingFrame(); |
- // Adds a frame and takes ownership of the underlying buffer if the addition |
- // was successful. |
- bool AddFrame(const QuicFrame& frame, char* buffer, bool needs_padding); |
+ // Adds a frame and takes ownership of the underlying buffer. |
+ bool AddFrame(const QuicFrame& frame, |
+ UniqueStreamBuffer buffer, |
+ bool needs_padding); |
void SerializeAndSendPacket(); |