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

Unified Diff: net/spdy/core/hpack/hpack_output_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_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);

Powered by Google App Engine
This is Rietveld 408576698