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
|
||||
|
|
|
@ -22,8 +22,8 @@ class AtomBrowserContext : public brightray::BrowserContext {
|
|||
AtomURLRequestJobFactory* job_factory() const { return job_factory_; }
|
||||
|
||||
protected:
|
||||
// brightray::BrowserContext:
|
||||
virtual scoped_ptr<net::URLRequestJobFactory> CreateURLRequestJobFactory(
|
||||
// brightray::URLRequestContextGetter::Delegate:
|
||||
virtual net::URLRequestJobFactory* CreateURLRequestJobFactory(
|
||||
content::ProtocolHandlerMap* handlers,
|
||||
content::ProtocolHandlerScopedVector* interceptors) OVERRIDE;
|
||||
|
||||
|
|
2
vendor/brightray
vendored
2
vendor/brightray
vendored
|
@ -1 +1 @@
|
|||
Subproject commit a3eba728efe6e80a5e0717f6889131519ab2b2f5
|
||||
Subproject commit f0fe9b5a75fee01716589a9594c4d693d7e70ba4
|
Loading…
Reference in a new issue