Don't specify URLRequestContext when starting logging

Related CL: https://codereview.chromium.org/2698143004
This commit is contained in:
Tony Ganch 2017-08-24 15:08:05 +02:00 committed by Cheng Zhao
parent 4412836e77
commit 0ad967c9a5
3 changed files with 10 additions and 25 deletions

View file

@ -181,7 +181,7 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
// --log-net-log
if (net_log_) {
net_log_->StartLogging(url_request_context_.get());
net_log_->StartLogging();
url_request_context_->set_net_log(net_log_);
}