diff options
Diffstat (limited to 'content/browser/plugin_service.cc')
-rw-r--r-- | content/browser/plugin_service.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc index f7ca16e..76a2b1c 100644 --- a/content/browser/plugin_service.cc +++ b/content/browser/plugin_service.cc @@ -84,8 +84,9 @@ bool PluginService::enable_chrome_plugins_ = true; void PluginService::InitGlobalInstance(Profile* profile) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); - // We first group the plugins and then figure out which groups to disable. - PluginUpdater::GetInstance()->DisablePluginGroupsFromPrefs(profile); + // We first group the plugins and then figure out which groups to + // enable or disable. + PluginUpdater::GetInstance()->UpdatePluginGroupsStateFromPrefs(profile); // Have Chrome plugins write their data to the profile directory. GetInstance()->SetChromePluginDataDir(profile->GetPath()); |