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

Unified Diff: net/quic/quic_per_connection_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_default_packet_writer.cc ('k') | net/quic/quic_per_connection_packet_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_per_connection_packet_writer.h
diff --git a/net/quic/quic_per_connection_packet_writer.h b/net/quic/quic_per_connection_packet_writer.h
index e88a37d6ad9d17489e732b6c18f0780ddc8594df..9b9b912fc5061224b06a4694c22e4698a2cab985 100644
--- a/net/quic/quic_per_connection_packet_writer.h
+++ b/net/quic/quic_per_connection_packet_writer.h
@@ -40,10 +40,11 @@ class QuicPerConnectionPacketWriter : public QuicPacketWriter {
private:
void OnWriteComplete(WriteResult result);
- base::WeakPtrFactory<QuicPerConnectionPacketWriter> weak_factory_;
QuicServerPacketWriter* shared_writer_; // Not owned.
QuicConnection* connection_; // Not owned.
+ base::WeakPtrFactory<QuicPerConnectionPacketWriter> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(QuicPerConnectionPacketWriter);
};
« no previous file with comments | « net/quic/quic_default_packet_writer.cc ('k') | net/quic/quic_per_connection_packet_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698