From e65bc481a8dce02f9ef48dd4a26c74db0b926329 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Tue, 26 Jul 2016 16:34:04 +0530 Subject: [PATCH] browser: initialize pref registry in brightray --- atom/browser/atom_browser_context.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atom/browser/atom_browser_context.cc b/atom/browser/atom_browser_context.cc index d87047ce283c..7ac5dde4ef21 100644 --- a/atom/browser/atom_browser_context.cc +++ b/atom/browser/atom_browser_context.cc @@ -87,6 +87,9 @@ AtomBrowserContext::AtomBrowserContext( // Read options. use_cache_ = true; options.GetBoolean("cache", &use_cache_); + + // Initialize Pref Registry in brightray. + InitPrefs(); } AtomBrowserContext::~AtomBrowserContext() {