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

Unified Diff: webkit/support/webkit_support_glue.cc

Issue 5699005: Policy: Re-enabled plugin still disabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up WebPluginInfo and rebased on fixed PluginGroup::InitFrom. Created 10 years 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
Index: webkit/support/webkit_support_glue.cc
diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc
index 85d09db098e94f8c4568d0cc30ffe5015ac6cfb6..2749268c2ebadb94da6ce75aa1a71c52dee3720f 100644
--- a/webkit/support/webkit_support_glue.cc
+++ b/webkit/support/webkit_support_glue.cc
@@ -28,7 +28,8 @@ void GetPlugins(bool refresh,
webkit::npapi::WebPluginInfo plugin_info = plugins->at(i);
for (size_t j = 0; j < arraysize(kPluginBlackList); ++j) {
if (plugin_info.path.BaseName() == FilePath(kPluginBlackList[j])) {
- webkit::npapi::PluginList::Singleton()->DisablePlugin(plugin_info.path);
+ webkit::npapi::PluginList::Singleton()->DisablePlugin(plugin_info.path,
+ plugin_info.name);
plugins->erase(plugins->begin() + i);
}
}

Powered by Google App Engine
This is Rietveld 408576698