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

Unified Diff: net/quic/stream_sequencer_buffer.cc

Issue 1565883003: relnote: Moving many QUIC DFATALS over to QUIC_BUG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add unused flag to keep code consistent Created 4 years, 11 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
Index: net/quic/stream_sequencer_buffer.cc
diff --git a/net/quic/stream_sequencer_buffer.cc b/net/quic/stream_sequencer_buffer.cc
index a54f13cf17b3e852ad17295a3b31b8e1722580e5..5b98452d03cb8c5425220674b41cd038c2a6a0c7 100644
--- a/net/quic/stream_sequencer_buffer.cc
+++ b/net/quic/stream_sequencer_buffer.cc
@@ -5,6 +5,7 @@
#include "net/quic/stream_sequencer_buffer.h"
#include "base/logging.h"
+#include "net/quic/quic_bug_tracker.h"
using std::min;
@@ -64,7 +65,7 @@ QuicErrorCode StreamSequencerBuffer::OnStreamData(
QuicStreamOffset offset = starting_offset;
size_t size = data.size();
if (size == 0) {
- LOG(DFATAL) << "Attempted to write 0 bytes of data.";
+ QUIC_BUG << "Attempted to write 0 bytes of data.";
return QUIC_INVALID_STREAM_FRAME;
}

Powered by Google App Engine
This is Rietveld 408576698