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

Unified Diff: net/quic/quic_server_packet_writer.cc

Issue 506523002: net : Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 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/quic/quic_server_packet_writer.h ('k') | net/socket/ssl_client_socket_openssl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_server_packet_writer.cc
diff --git a/net/quic/quic_server_packet_writer.cc b/net/quic/quic_server_packet_writer.cc
index 8ffc309915ded63466fc0281a03ce6c4e4e9ddf4..38d93d96c5a30e966cc2e744770e29b5584c7ff6 100644
--- a/net/quic/quic_server_packet_writer.cc
+++ b/net/quic/quic_server_packet_writer.cc
@@ -17,10 +17,10 @@ namespace net {
QuicServerPacketWriter::QuicServerPacketWriter(
UDPServerSocket* socket,
QuicBlockedWriterInterface* blocked_writer)
- : weak_factory_(this),
- socket_(socket),
+ : socket_(socket),
blocked_writer_(blocked_writer),
- write_blocked_(false) {
+ write_blocked_(false),
+ weak_factory_(this) {
}
QuicServerPacketWriter::~QuicServerPacketWriter() {
« no previous file with comments | « net/quic/quic_server_packet_writer.h ('k') | net/socket/ssl_client_socket_openssl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698