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:
Adam Roben 2013-08-15 16:07:14 -04:00
parent 1161da6527
commit 710d0fc6c5
3 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,8 @@ public:
BrowserContext();
~BrowserContext();
void Initialize();
net::URLRequestContextGetter* CreateRequestContext(content::ProtocolHandlerMap*);
PrefService* prefs() { return prefs_.get(); }