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

Unified Diff: net/quic/quic_write_blocked_list.cc

Issue 1470713003: Landing Recent QUIC changes until and including Mon Nov 16 14:15:48 2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback fixes in quic_connection.cc, quic_connection_test.cc and quic_server_bin.cc. Created 5 years, 1 month 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/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() {}

Powered by Google App Engine
This is Rietveld 408576698