Index: net/spdy/spdy_http_stream.cc |
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc |
index b3203ff4c6ba2dfbf2fef5ca1606755980c03b96..a3277682efb7268e51df3258c7d127b35f44cb00 100644 |
--- a/net/spdy/spdy_http_stream.cc |
+++ b/net/spdy/spdy_http_stream.cc |
@@ -27,8 +27,7 @@ namespace net { |
SpdyHttpStream::SpdyHttpStream(const base::WeakPtr<SpdySession>& spdy_session, |
bool direct) |
- : weak_factory_(this), |
- spdy_session_(spdy_session), |
+ : spdy_session_(spdy_session), |
is_reused_(spdy_session_->IsReused()), |
stream_closed_(false), |
closed_stream_status_(ERR_FAILED), |
@@ -41,7 +40,8 @@ SpdyHttpStream::SpdyHttpStream(const base::WeakPtr<SpdySession>& spdy_session, |
request_body_buf_size_(0), |
buffered_read_callback_pending_(false), |
more_read_data_pending_(false), |
- direct_(direct) { |
+ direct_(direct), |
+ weak_factory_(this) { |
DCHECK(spdy_session_.get()); |
} |