prefs' key needs to be registered before using.

This commit is contained in:
Haojian Wu 2015-07-26 16:17:55 +08:00
parent 0700f08d6d
commit 2aa17debc8
2 changed files with 9 additions and 0 deletions

View file

@ -31,6 +31,7 @@ class AtomBrowserContext : public brightray::BrowserContext {
// content::BrowserContext:
content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
content::BrowserPluginGuestManager* GetGuestManager() override;
void RegisterPrefs(PrefRegistrySimple* pref_registry) override;
AtomURLRequestJobFactory* job_factory() const { return job_factory_; }