mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
net::URLFetcher::Create now returns object with scoped_ptr.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user