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

Unified Diff: net/quic/core/quic_stream_sequencer.cc

Issue 2464683002: adds std:: to stl types (#049) (Closed)
Patch Set: remove dead using std::foo declarations. Created 4 years, 2 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
« no previous file with comments | « net/quic/core/quic_session_test.cc ('k') | net/quic/core/quic_stream_sequencer_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_stream_sequencer.cc
diff --git a/net/quic/core/quic_stream_sequencer.cc b/net/quic/core/quic_stream_sequencer.cc
index dc9193731bc9cf91cc8f6654dd68344fabcf1438..b2486c8d24bc1e5a0f3d06c2514596cba26263a5 100644
--- a/net/quic/core/quic_stream_sequencer.cc
+++ b/net/quic/core/quic_stream_sequencer.cc
@@ -25,7 +25,6 @@ using base::IntToString;
using base::StringPiece;
using base::StringPrintf;
using std::min;
-using std::numeric_limits;
using std::string;
namespace net {
@@ -34,7 +33,7 @@ QuicStreamSequencer::QuicStreamSequencer(ReliableQuicStream* quic_stream,
const QuicClock* clock)
: stream_(quic_stream),
buffered_frames_(kStreamReceiveWindowLimit),
- close_offset_(numeric_limits<QuicStreamOffset>::max()),
+ close_offset_(std::numeric_limits<QuicStreamOffset>::max()),
blocked_(false),
num_frames_received_(0),
num_duplicate_frames_received_(0),
@@ -90,7 +89,8 @@ void QuicStreamSequencer::OnStreamFrame(const QuicStreamFrame& frame) {
}
void QuicStreamSequencer::CloseStreamAtOffset(QuicStreamOffset offset) {
- const QuicStreamOffset kMaxOffset = numeric_limits<QuicStreamOffset>::max();
+ const QuicStreamOffset kMaxOffset =
+ std::numeric_limits<QuicStreamOffset>::max();
// If there is a scheduled close, the new offset should match it.
if (close_offset_ != kMaxOffset && offset != close_offset_) {
« no previous file with comments | « net/quic/core/quic_session_test.cc ('k') | net/quic/core/quic_stream_sequencer_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698