net::FtpProtocolHandler has changed its constructor

This commit is contained in:
Cheng Zhao 2017-01-24 14:33:21 +09:00 committed by Kevin Sawicki
parent 5162905fe4
commit 5cf2873b77
2 changed files with 2 additions and 3 deletions

View file

@ -155,8 +155,7 @@ AtomBrowserContext::CreateURLRequestJobFactory(
url_request_context_getter()->GetURLRequestContext()->host_resolver();
job_factory->SetProtocolHandler(
url::kFtpScheme,
base::WrapUnique(new net::FtpProtocolHandler(
new net::FtpNetworkLayer(host_resolver))));
net::FtpProtocolHandler::Create(host_resolver));
return std::move(job_factory);
}