Index: net/http/http_transaction_test_util.cc |
diff --git a/net/http/http_transaction_test_util.cc b/net/http/http_transaction_test_util.cc |
index f54c99f3b4b2b3cbfec5f3eec11e9688a580e38f..7d031d8023886c53ef20d3853676abe35bc140a6 100644 |
--- a/net/http/http_transaction_test_util.cc |
+++ b/net/http/http_transaction_test_util.cc |
@@ -225,14 +225,14 @@ void TestTransactionConsumer::OnIOComplete(int result) { |
MockNetworkTransaction::MockNetworkTransaction( |
net::RequestPriority priority, |
MockNetworkLayer* factory) |
- : weak_factory_(this), |
- request_(NULL), |
+ : request_(NULL), |
data_cursor_(0), |
priority_(priority), |
websocket_handshake_stream_create_helper_(NULL), |
transaction_factory_(factory->AsWeakPtr()), |
received_bytes_(0), |
- socket_log_id_(net::NetLog::Source::kInvalidId) { |
+ socket_log_id_(net::NetLog::Source::kInvalidId), |
+ weak_factory_(this) { |
} |
MockNetworkTransaction::~MockNetworkTransaction() {} |