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

Unified Diff: net/quic/quic_server_packet_writer.h

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_per_connection_packet_writer.cc ('k') | net/quic/quic_server_packet_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_server_packet_writer.h
diff --git a/net/quic/quic_server_packet_writer.h b/net/quic/quic_server_packet_writer.h
index 1c17e42bdc91d22a9eaf43f03353163fab0ac226..417ea8d948a1394c962adcf89b8636d1703a632b 100644
--- a/net/quic/quic_server_packet_writer.h
+++ b/net/quic/quic_server_packet_writer.h
@@ -52,7 +52,6 @@ class QuicServerPacketWriter : public QuicPacketWriter {
const IPAddressNumber& self_address,
const IPEndPoint& peer_address) OVERRIDE;
private:
- base::WeakPtrFactory<QuicServerPacketWriter> weak_factory_;
UDPServerSocket* socket_;
// To be notified after every successful asynchronous write.
@@ -64,6 +63,8 @@ class QuicServerPacketWriter : public QuicPacketWriter {
// Whether a write is currently in flight.
bool write_blocked_;
+ base::WeakPtrFactory<QuicServerPacketWriter> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(QuicServerPacketWriter);
};
« no previous file with comments | « net/quic/quic_per_connection_packet_writer.cc ('k') | net/quic/quic_server_packet_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698