Fix RegisterPrefs not working in subclass.
Don't call virtual function in subclass's constructor.
This commit is contained in:
parent
ab878c5f98
commit
73632d4189
2 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,7 @@ class BrowserContext : public base::RefCounted<BrowserContext>,
|
|||
return url_request_getter_.get();
|
||||
}
|
||||
|
||||
void InitPrefs();
|
||||
PrefService* prefs() { return prefs_.get(); }
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue