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

Unified Diff: net/quic/quic_flow_controller_test.cc

Issue 335433002: Minor change to keep the code similar between chromium and internal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_flow_controller_test.cc
diff --git a/net/quic/quic_flow_controller_test.cc b/net/quic/quic_flow_controller_test.cc
index e40dc94781c3466552c333727ce62295bb7655b1..30fe990d10e1a5f4b2d647aa1c7c1ad31b988f0c 100644
--- a/net/quic/quic_flow_controller_test.cc
+++ b/net/quic/quic_flow_controller_test.cc
@@ -120,9 +120,8 @@ TEST_F(QuicFlowControllerTest, ReceivingBytes) {
TEST_F(QuicFlowControllerTest,
DisabledWhenQuicVersionDoesNotSupportFlowControl) {
// Only support version 16: no flow control.
- QuicVersionVector supported_versions;
- supported_versions.push_back(QUIC_VERSION_16);
- QuicConnectionPeer::SetSupportedVersions(&connection_, supported_versions);
+ QuicConnectionPeer::SetSupportedVersions(&connection_,
+ SupportedVersions(QUIC_VERSION_16));
Initialize();
« no previous file with comments | « no previous file | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698