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

Unified Diff: net/quic/quic_data_stream.cc

Issue 115463002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « net/quic/quic_crypto_stream_test.cc ('k') | net/quic/quic_data_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_data_stream.cc
diff --git a/net/quic/quic_data_stream.cc b/net/quic/quic_data_stream.cc
index 29616b8c5ab56844006efe16d62bd9fbb883a247..6b03a155199acc273838378aeeabc171715f7e8f 100644
--- a/net/quic/quic_data_stream.cc
+++ b/net/quic/quic_data_stream.cc
@@ -308,7 +308,7 @@ uint32 QuicDataStream::StripPriorityAndHeaderId(
// Spdy priorities are inverted, so the highest numerical value is the
// lowest legal priority.
- if (temporary_priority > static_cast<QuicPriority>(kLowestPriority)) {
+ if (temporary_priority > QuicUtils::LowestPriority()) {
session()->connection()->SendConnectionClose(QUIC_INVALID_PRIORITY);
return 0;
}
« no previous file with comments | « net/quic/quic_crypto_stream_test.cc ('k') | net/quic/quic_data_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698