Make overriding BrowserContext::RegisterPrefs actually work
We were calling it before derived classes' vtables were set up. Now we wait to call it until the BrowserContext is fully constructed.
This commit is contained in:
parent
1161da6527
commit
710d0fc6c5
3 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,8 @@ public:
|
|||
BrowserContext();
|
||||
~BrowserContext();
|
||||
|
||||
void Initialize();
|
||||
|
||||
net::URLRequestContextGetter* CreateRequestContext(content::ProtocolHandlerMap*);
|
||||
|
||||
PrefService* prefs() { return prefs_.get(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue