Merge pull request #152 from atom/register-prefs

Fix RegisterPrefs not working in subclass.
This commit is contained in:
Cheng Zhao 2015-10-06 22:44:32 +08:00
commit 43bfdace86
2 changed files with 4 additions and 0 deletions

View file

@ -64,6 +64,7 @@ class BrowserContext : public base::RefCounted<BrowserContext>,
return url_request_getter_.get();
}
void InitPrefs();
PrefService* prefs() { return prefs_.get(); }
protected: