Fix url_request_context_getter.cc

This commit is contained in:
Cheng Zhao 2015-03-08 19:54:27 -07:00
parent f04ee342ea
commit 5e1a4e1222

View file

@ -142,7 +142,7 @@ net::HostResolver* URLRequestContextGetter::host_resolver() {
net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
auto& command_line = *base::CommandLine::ForCurrentProcess();
if (!url_request_context_.get()) {
url_request_context_.reset(new net::URLRequestContext);
network_delegate_.reset(delegate_->CreateNetworkDelegate());