Index: net/spdy/core/hpack/hpack_input_stream_test.cc |
diff --git a/net/spdy/core/hpack/hpack_input_stream_test.cc b/net/spdy/core/hpack/hpack_input_stream_test.cc |
index 99c4adc38a71a9a7a8d712fb1f662bf0a1d502cd..8ab4da5ff7b8ff79b8463bd4fc0421cfcb6fc0bd 100644 |
--- a/net/spdy/core/hpack/hpack_input_stream_test.cc |
+++ b/net/spdy/core/hpack/hpack_input_stream_test.cc |
@@ -760,7 +760,7 @@ TEST(HpackInputStreamTest, IncompleteHeaderDecodeNextIdentityString) { |
TEST(HpackInputStreamTest, IncompleteHeaderDecodeNextHuffmanString) { |
SpdyString output, input(a2b_hex(kEncodedHuffmanFixture)); |
- input.resize(input.size() - 1); // Remove last byte. |
+ input.pop_back(); // Remove last byte. |
HpackInputStream input_stream1(input); |
HpackInputStreamPeer input_stream1_peer(&input_stream1); |
EXPECT_FALSE(input_stream1.DecodeNextHuffmanString(&output)); |