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"; |