Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1278)

Unified Diff: content/browser/plugin_service.cc

Issue 8515021: Move PluginPrefs to use PluginService instead of PluginList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/plugin_prefs_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_service.cc
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc
index b0cbb7f8541d197993ecd71711b38af3b7b4d640..42ba86872fa12dbf47943697c687c03f731c7d94 100644
--- a/content/browser/plugin_service.cc
+++ b/content/browser/plugin_service.cc
@@ -644,6 +644,8 @@ void PluginService::UnregisterInternalPlugin(const FilePath& path) {
}
webkit::npapi::PluginList* PluginService::plugin_list() {
+ if (plugin_list_)
jam 2011/11/10 23:39:16 this seems to be covering up for Init() not being
Robert Sesek 2011/11/10 23:42:06 Done.
+ return plugin_list_;
return webkit::npapi::PluginList::Singleton();
}
« no previous file with comments | « chrome/browser/plugin_prefs_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698