Upgrade brightray for new URLRequestContextGetter interface.
This commit is contained in:
parent
2bcb7393c4
commit
af0a5744f2
3 changed files with 5 additions and 6 deletions
|
@ -25,8 +25,7 @@ AtomBrowserContext::AtomBrowserContext()
|
|||
AtomBrowserContext::~AtomBrowserContext() {
|
||||
}
|
||||
|
||||
scoped_ptr<net::URLRequestJobFactory>
|
||||
AtomBrowserContext::CreateURLRequestJobFactory(
|
||||
net::URLRequestJobFactory* AtomBrowserContext::CreateURLRequestJobFactory(
|
||||
content::ProtocolHandlerMap* handlers,
|
||||
content::ProtocolHandlerScopedVector* interceptors) {
|
||||
scoped_ptr<AtomURLRequestJobFactory> job_factory(job_factory_);
|
||||
|
@ -52,7 +51,7 @@ AtomBrowserContext::CreateURLRequestJobFactory(
|
|||
top_job_factory.Pass(), make_scoped_ptr(*it)));
|
||||
interceptors->weak_clear();
|
||||
|
||||
return top_job_factory.Pass();
|
||||
return top_job_factory.release();
|
||||
}
|
||||
|
||||
// static
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue