summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/url_request/url_request_test_util.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/url_request/url_request_test_util.cc b/net/url_request/url_request_test_util.cc
index 817837a..330104b 100644
--- a/net/url_request/url_request_test_util.cc
+++ b/net/url_request/url_request_test_util.cc
@@ -51,19 +51,13 @@ const int kStageDestruction = 1 << 10;
} // namespace
-TestURLRequestContext::TestURLRequestContext()
- : initialized_(false),
- client_socket_factory_(nullptr),
- proxy_delegate_(nullptr),
- ct_policy_enforcer_(nullptr),
- context_storage_(this) {
- Init();
-}
+TestURLRequestContext::TestURLRequestContext() : TestURLRequestContext(false) {}
TestURLRequestContext::TestURLRequestContext(bool delay_initialization)
: initialized_(false),
client_socket_factory_(nullptr),
proxy_delegate_(nullptr),
+ ct_policy_enforcer_(nullptr),
context_storage_(this) {
if (!delay_initialization)
Init();