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

Unified Diff: net/http/http_transaction_test_util.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/http/http_transaction_test_util.h ('k') | net/proxy/proxy_script_fetcher_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « net/http/http_transaction_test_util.h ('k') | net/proxy/proxy_script_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698