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

Unified Diff: net/spdy/core/hpack/hpack_input_stream_test.cc

Issue 2895993003: Misc cleanup in net/spdy/core. (Closed)
Patch Set: Rebase. Created 3 years, 7 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
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));

Powered by Google App Engine
This is Rietveld 408576698