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

Unified Diff: net/quic/quic_framer.cc

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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_flags.cc ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_framer.cc
diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc
index c381695e4eeebaa36c4eb57a3e279b81bc47e432..b0b3afcb3a05fa52697e3bad1e2277d29f83226c 100644
--- a/net/quic/quic_framer.cc
+++ b/net/quic/quic_framer.cc
@@ -1959,7 +1959,7 @@ bool QuicFramer::AppendStreamFrame(
return false;
}
if (!no_stream_frame_length) {
- if ((frame.data.TotalBufferSize() > std::numeric_limits<uint16>::max()) ||
+ if ((frame.data.TotalBufferSize() > numeric_limits<uint16>::max()) ||
!writer->WriteUInt16(
static_cast<uint16>(frame.data.TotalBufferSize()))) {
LOG(DFATAL) << "Writing stream frame length failed";
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698