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

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

Issue 2524523002: Remove various 'using std::' statements from QUIC code and use (Closed)
Patch Set: Rebase Created 4 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/core/quic_spdy_stream.cc ('k') | net/quic/core/quic_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_spdy_stream_test.cc
diff --git a/net/quic/core/quic_spdy_stream_test.cc b/net/quic/core/quic_spdy_stream_test.cc
index 2ac223e3a3aac97029c0c5ffc45a51b2ee18372c..8a1fb6062690ae395e6b877abdd8856bc328e29d 100644
--- a/net/quic/core/quic_spdy_stream_test.cc
+++ b/net/quic/core/quic_spdy_stream_test.cc
@@ -21,7 +21,6 @@
#include "testing/gmock/include/gmock/gmock.h"
using base::StringPiece;
-using std::min;
using std::string;
using testing::AnyNumber;
using testing::Invoke;
@@ -255,7 +254,7 @@ TEST_P(QuicSpdyStreamTest, ProcessHeadersAndBodyFragments) {
for (size_t offset = 0; offset < body.size(); offset += fragment_size) {
size_t remaining_data = body.size() - offset;
StringPiece fragment(body.data() + offset,
- min(fragment_size, remaining_data));
+ std::min(fragment_size, remaining_data));
QuicStreamFrame frame(kClientDataStreamId1, false, offset,
StringPiece(fragment));
stream_->OnStreamFrame(frame);
« no previous file with comments | « net/quic/core/quic_spdy_stream.cc ('k') | net/quic/core/quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698