diff options
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 979c263..3edd32d 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -373,10 +373,10 @@ void ProfileImpl::InitExtensions() { const CommandLine* command_line = CommandLine::ForCurrentProcess(); PrefService* prefs = GetPrefs(); bool user_scripts_enabled = - command_line->HasSwitch(switches::kEnableUserScripts) || + command_line->HasSwitch(switches::kEnableUserScripts) || prefs->GetBoolean(prefs::kEnableUserScripts); bool extensions_enabled = - command_line->HasSwitch(switches::kEnableExtensions) || + command_line->HasSwitch(switches::kEnableExtensions) || prefs->GetBoolean(prefs::kEnableExtensions); FilePath script_dir; |