Index: net/spdy/spdy_websocket_stream.cc |
diff --git a/net/spdy/spdy_websocket_stream.cc b/net/spdy/spdy_websocket_stream.cc |
index c0eac28b6fb4e64f0462d76b2e7c50c62eb9c251..54e668c16490b4c867e4cec133c99723e769f482 100644 |
--- a/net/spdy/spdy_websocket_stream.cc |
+++ b/net/spdy/spdy_websocket_stream.cc |
@@ -19,10 +19,10 @@ namespace net { |
SpdyWebSocketStream::SpdyWebSocketStream( |
const base::WeakPtr<SpdySession>& spdy_session, Delegate* delegate) |
- : weak_ptr_factory_(this), |
- spdy_session_(spdy_session), |
+ : spdy_session_(spdy_session), |
pending_send_data_length_(0), |
- delegate_(delegate) { |
+ delegate_(delegate), |
+ weak_ptr_factory_(this) { |
DCHECK(spdy_session_.get()); |
DCHECK(delegate_); |
} |