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

Unified Diff: net/spdy/spdy_protocol_test.cc

Issue 10254021: Merge SettingsMap changes from server code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/spdy/spdy_framer_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_protocol_test.cc
diff --git a/net/spdy/spdy_protocol_test.cc b/net/spdy/spdy_protocol_test.cc
index d4d9b1fa2a1d121e3790fb28748f03aef00b7c3a..f71f0d28bf0b32c0d6998f352b86ed76ea449646 100644
--- a/net/spdy/spdy_protocol_test.cc
+++ b/net/spdy/spdy_protocol_test.cc
@@ -245,9 +245,10 @@ TEST_P(SpdyProtocolTest, TestSpdySettingsFrame) {
SettingsMap parsed_settings;
EXPECT_TRUE(framer.ParseSettings(settings_frame.get(), &parsed_settings));
EXPECT_EQ(settings.size(), parsed_settings.size());
- SettingsMap::const_iterator it, it2;
- for (it = parsed_settings.begin(); it != parsed_settings.end(); it++) {
- it2 = settings.find(it->first);
+ for (SettingsMap::const_iterator it = parsed_settings.begin();
+ it != parsed_settings.end();
+ it++) {
+ SettingsMap::const_iterator it2 = settings.find(it->first);
EXPECT_EQ(it->first, it2->first);
SettingsFlagsAndValue parsed = it->second;
SettingsFlagsAndValue created = it2->second;
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698