Index: net/spdy/spdy_framer_test.cc |
diff --git a/net/spdy/spdy_framer_test.cc b/net/spdy/spdy_framer_test.cc |
index 6b5f4d1bacd5f984f17c488ec11e7b92d9bffd6a..2758b5e0840e56e84cc1a9b3f31c354e1ab595d5 100644 |
--- a/net/spdy/spdy_framer_test.cc |
+++ b/net/spdy/spdy_framer_test.cc |
@@ -5534,7 +5534,8 @@ TEST_P(SpdyFramerTest, EmptySynStream) { |
TEST_P(SpdyFramerTest, SettingsFlagsAndId) { |
const uint32 kId = 0x020304; |
const uint32 kFlags = 0x01; |
- const uint32 kWireFormat = htonl(IsSpdy2() ? 0x04030201 : 0x01020304); |
+ const uint32 kWireFormat = |
+ base::HostToNet32(IsSpdy2() ? 0x04030201 : 0x01020304); |
SettingsFlagsAndId id_and_flags = |
SettingsFlagsAndId::FromWireFormat(spdy_version_, kWireFormat); |