Index: net/spdy/core/hpack/hpack_output_stream_test.cc |
diff --git a/net/spdy/core/hpack/hpack_output_stream_test.cc b/net/spdy/core/hpack/hpack_output_stream_test.cc |
index 95a6cc7077ea316f9cfe6a7e4891f797f1e94e58..d4401799c1843650a48b350457f11e9beedc2e58 100644 |
--- a/net/spdy/core/hpack/hpack_output_stream_test.cc |
+++ b/net/spdy/core/hpack/hpack_output_stream_test.cc |
@@ -20,7 +20,7 @@ TEST(HpackOutputStreamTest, AppendBits) { |
output_stream.AppendBits(0x1, 1); |
expected_str.append(1, 0x00); |
- *expected_str.rbegin() |= (0x1 << 7); |
+ expected_str.back() |= (0x1 << 7); |
output_stream.AppendBits(0x0, 1); |
@@ -33,7 +33,7 @@ TEST(HpackOutputStreamTest, AppendBits) { |
output_stream.AppendBits(0x7, 3); |
*expected_str.rbegin() |= (0x7 >> 1); |
expected_str.append(1, 0x00); |
- *expected_str.rbegin() |= (0x7 << 7); |
+ expected_str.back() |= (0x7 << 7); |
output_stream.AppendBits(0x0, 7); |