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

Unified Diff: net/tools/quic/quic_client_session_test.cc

Issue 2422343002: Remove now useless QUIC method AdjustErrorForVersion() which has been a no-op for some time. (Closed)
Patch Set: 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_protocol_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_session_test.cc
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc
index 75d02cb8eea179e127c2aac3f36c321398d48080..937ce68f319a47b63f7e780aa9340c7ff47152d9 100644
--- a/net/tools/quic/quic_client_session_test.cc
+++ b/net/tools/quic/quic_client_session_test.cc
@@ -233,9 +233,8 @@ TEST_P(QuicClientSessionTest, MaxNumStreamsWithRst) {
// Close the stream and receive an RST frame to remove the unfinished stream
session_->CloseStream(stream->id());
- session_->OnRstStream(QuicRstStreamFrame(
- stream->id(), AdjustErrorForVersion(QUIC_RST_ACKNOWLEDGEMENT, GetParam()),
- 0));
+ session_->OnRstStream(
+ QuicRstStreamFrame(stream->id(), QUIC_RST_ACKNOWLEDGEMENT, 0));
// Check that a new one can be created.
EXPECT_EQ(0u, session_->GetNumOpenOutgoingStreams());
stream = session_->CreateOutgoingDynamicStream(kDefaultPriority);
« no previous file with comments | « net/quic/core/quic_protocol_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698