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

Unified Diff: net/spdy/spdy_websocket_stream.cc

Issue 301573002: Fix WeakPtrFactory member order in net/spdy and net/dns (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « net/spdy/spdy_websocket_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
}
« no previous file with comments | « net/spdy/spdy_websocket_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698