Index: net/quic/quic_write_blocked_list.cc |
diff --git a/net/quic/quic_write_blocked_list.cc b/net/quic/quic_write_blocked_list.cc |
index e763d172f26a2704c4d8db033d1f28dfb7254eb2..0a7477249e7ee38f5aa9d7fc991f963b95cc6abd 100644 |
--- a/net/quic/quic_write_blocked_list.cc |
+++ b/net/quic/quic_write_blocked_list.cc |
@@ -6,13 +6,14 @@ |
namespace net { |
-const QuicPriority QuicWriteBlockedList::kHighestPriority = |
- static_cast<QuicPriority>(net::kHighestPriority); |
-const QuicPriority QuicWriteBlockedList::kLowestPriority = |
- static_cast<QuicPriority>(net::kLowestPriority); |
- |
QuicWriteBlockedList::QuicWriteBlockedList() |
- : crypto_stream_blocked_(false), headers_stream_blocked_(false) { |
+ : last_priority_popped_(0), |
+ crypto_stream_blocked_(false), |
+ headers_stream_blocked_(false) { |
+ memset(batch_write_stream_id_, 0, |
+ arraysize(batch_write_stream_id_) * sizeof(QuicStreamId)); |
+ memset(bytes_left_for_batch_write_, 0, |
+ arraysize(bytes_left_for_batch_write_) * sizeof(int32)); |
} |
QuicWriteBlockedList::~QuicWriteBlockedList() {} |