Fix lifetime management of URLRequestContextGetter
I noticed this bug while adding persistent cookie storage.
This commit is contained in:
parent
4fc0fed081
commit
90691e394f
2 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ private:
|
|||
virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
|
||||
|
||||
scoped_ptr<ResourceContext> resource_context_;
|
||||
scoped_ptr<URLRequestContextGetter> url_request_getter_;
|
||||
scoped_refptr<URLRequestContextGetter> url_request_getter_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(BrowserContext);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue