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

Unified Diff: net/spdy/spdy_test_utils.cc

Issue 2829463002: Replace TestHeadersHandler::OnHeaderBlockEnd body with call to other method. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_utils.cc
diff --git a/net/spdy/spdy_test_utils.cc b/net/spdy/spdy_test_utils.cc
index 1a9fb2b91841a460127a2ea4f5fd21b3efbe5e65..66806bf8217b00ff953e016f9283ed138d91b962 100644
--- a/net/spdy/spdy_test_utils.cc
+++ b/net/spdy/spdy_test_utils.cc
@@ -152,8 +152,7 @@ void TestHeadersHandler::OnHeader(SpdyStringPiece name, SpdyStringPiece value) {
}
void TestHeadersHandler::OnHeaderBlockEnd(size_t header_bytes_parsed) {
- header_bytes_parsed_ = header_bytes_parsed;
- compressed_header_bytes_parsed_ = 0;
+ OnHeaderBlockEnd(header_bytes_parsed, 0);
}
void TestHeadersHandler::OnHeaderBlockEnd(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698