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

Unified Diff: net/quic/quic_protocol.cc

Issue 1240903003: relnote: Initialize all fields in QuicRstStreamFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Deprecate_flags_quic_dont_ack_acks_97227483
Patch Set: Created 5 years, 5 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
« 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/quic_protocol.cc
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
index c110522bb204e6e7ea253a00a7a2677d5540f41b..821274912fced9ab6301e9013cac1be09a34b1fe 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -255,9 +255,7 @@ QuicRstStreamErrorCode AdjustErrorForVersion(
}
QuicRstStreamFrame::QuicRstStreamFrame()
- : stream_id(0),
- error_code(QUIC_STREAM_NO_ERROR) {
-}
+ : stream_id(0), error_code(QUIC_STREAM_NO_ERROR), byte_offset(0) {}
QuicRstStreamFrame::QuicRstStreamFrame(QuicStreamId stream_id,
QuicRstStreamErrorCode error_code,
« 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