net::URLFetcher::Create now returns object with scoped_ptr.
This commit is contained in:
parent
0e8a585157
commit
f9fee9174a
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ URLRequestFetchJob::URLRequestFetchJob(
|
|||
else
|
||||
request_type = GetRequestType(method);
|
||||
|
||||
fetcher_.reset(net::URLFetcher::Create(url, request_type, this));
|
||||
fetcher_ = net::URLFetcher::Create(url, request_type, this);
|
||||
// Use request context if provided else create one.
|
||||
if (request_context_getter)
|
||||
fetcher_->SetRequestContext(request_context_getter.get());
|
||||
|
|
Loading…
Reference in a new issue