gfe-relnote: (n/a) Change QUIC frame structs to use default member initializer instead of member initializer list. No behavior change.
PiperOrigin-RevId: 307598459
Change-Id: If71260113ae44917e74c358c80085a9dcf6fda2a
diff --git a/quic/core/frames/quic_path_response_frame.h b/quic/core/frames/quic_path_response_frame.h
index e953ad8..cdb0ba8 100644
--- a/quic/core/frames/quic_path_response_frame.h
+++ b/quic/core/frames/quic_path_response_frame.h
@@ -8,15 +8,13 @@
#include <memory>
#include <ostream>
+#include "net/third_party/quiche/src/quic/core/quic_constants.h"
#include "net/third_party/quiche/src/quic/core/quic_types.h"
namespace quic {
-// Size of the entire IETF Quic Path Response frame.
-const size_t kQuicPathResponseFrameSize = kQuicPathFrameBufferSize;
-
struct QUIC_EXPORT_PRIVATE QuicPathResponseFrame {
- QuicPathResponseFrame();
+ QuicPathResponseFrame() = default;
QuicPathResponseFrame(QuicControlFrameId control_frame_id,
const QuicPathFrameBuffer& data_buff);
~QuicPathResponseFrame();
@@ -27,7 +25,7 @@
// A unique identifier of this control frame. 0 when this frame is received,
// and non-zero when sent.
- QuicControlFrameId control_frame_id;
+ QuicControlFrameId control_frame_id = kInvalidControlFrameId;
QuicPathFrameBuffer data_buffer;
};