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

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 5699005: Policy: Re-enabled plugin still disabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes and cleanups. 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/tools/test_shell/test_shell.cc
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 280be89ba8e72cfcf814f6d86f5289937b2f6319..e2d0cfa10850b3f0cadcb822920f140b0d85fc95 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -912,7 +912,8 @@ void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) {
WebPluginInfo plugin_info = plugins->at(i);
for (size_t j = 0; j < arraysize(kPluginBlackList); ++j) {
if (plugin_info.path.BaseName() == FilePath(kPluginBlackList[j])) {
- NPAPI::PluginList::Singleton()->DisablePlugin(plugin_info.path);
+ NPAPI::PluginList::Singleton()->DisablePlugin(plugin_info.path,
+ plugin_info.name);
plugins->erase(plugins->begin() + i);
}
}

Powered by Google App Engine
This is Rietveld 408576698