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

Unified Diff: net/quic/quic_connection_helper.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_connection_helper.h ('k') | net/quic/quic_default_packet_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_helper.cc
diff --git a/net/quic/quic_connection_helper.cc b/net/quic/quic_connection_helper.cc
index 543bf09f801ccb17d47a3eb45d75545519257a60..fefd6faaeed32b020395e1ba7c35b232a97168ca 100644
--- a/net/quic/quic_connection_helper.cc
+++ b/net/quic/quic_connection_helper.cc
@@ -94,10 +94,10 @@ class QuicChromeAlarm : public QuicAlarm {
QuicConnectionHelper::QuicConnectionHelper(base::TaskRunner* task_runner,
const QuicClock* clock,
QuicRandom* random_generator)
- : weak_factory_(this),
- task_runner_(task_runner),
+ : task_runner_(task_runner),
clock_(clock),
- random_generator_(random_generator) {
+ random_generator_(random_generator),
+ weak_factory_(this) {
}
QuicConnectionHelper::~QuicConnectionHelper() {
« no previous file with comments | « net/quic/quic_connection_helper.h ('k') | net/quic/quic_default_packet_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698