Index: net/http/http_transaction_test_util.h |
diff --git a/net/http/http_transaction_test_util.h b/net/http/http_transaction_test_util.h |
index 0803ef59ddcc6c15eb7f7fe32c4324d20ed13a46..b8663c6e14382b7dd440a77d36c8dc52a89b3efb 100644 |
--- a/net/http/http_transaction_test_util.h |
+++ b/net/http/http_transaction_test_util.h |
@@ -237,7 +237,6 @@ class MockNetworkTransaction |
void CallbackLater(const net::CompletionCallback& callback, int result); |
void RunCallback(const net::CompletionCallback& callback, int result); |
- base::WeakPtrFactory<MockNetworkTransaction> weak_factory_; |
const net::HttpRequestInfo* request_; |
net::HttpResponseInfo response_; |
std::string data_; |
@@ -252,6 +251,9 @@ class MockNetworkTransaction |
// connection. Requires Start() be passed a BoundNetLog with a real NetLog to |
// be initialized. |
unsigned int socket_log_id_; |
+ |
+ base::WeakPtrFactory<MockNetworkTransaction> weak_factory_; |
+ |
}; |
class MockNetworkLayer : public net::HttpTransactionFactory, |