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

Unified Diff: net/spdy/spdy_framer.cc

Issue 987823003: Code cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « net/spdy/spdy_framer.h ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.cc
diff --git a/net/spdy/spdy_framer.cc b/net/spdy/spdy_framer.cc
index e7603ff7bd445d6ee723db28f17a0ee7badba672..dbb3fff59c8dd02ad781b11e8cfdf7ee3c30f101 100644
--- a/net/spdy/spdy_framer.cc
+++ b/net/spdy/spdy_framer.cc
@@ -153,14 +153,14 @@ bool SpdyFramerVisitorInterface::OnRstStreamFrameData(
SpdyFramer::SpdyFramer(SpdyMajorVersion version)
: current_frame_buffer_(new char[kControlFrameBufferSize]),
- enable_compression_(true),
+ expect_continuation_(0),
visitor_(NULL),
debug_visitor_(NULL),
display_protocol_("SPDY"),
protocol_version_(version),
+ enable_compression_(true),
syn_frame_processed_(false),
probable_http_response_(false),
- expect_continuation_(0),
end_stream_when_done_(false) {
DCHECK_GE(protocol_version_, SPDY_MIN_VERSION);
DCHECK_LE(protocol_version_, SPDY_MAX_VERSION);
@@ -1422,8 +1422,8 @@ size_t SpdyFramer::ProcessControlFrameBeforeHeaderBlock(const char* data,
priority = priority >> 5;
}
- // Seek past unused byte; used to be credential slot in SPDY 3.
- reader.Seek(1);
+ // Seek past unused byte; used to be credential slot in SPDY 3.
+ reader.Seek(1);
DCHECK(reader.IsDoneReading());
if (debug_visitor_) {
« no previous file with comments | « net/spdy/spdy_framer.h ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698