Index: chrome/browser/plugin_service.cc |
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc |
index e42c2aed12d36bba16f077d01a5fc56a52900512..d0671672756b04de1d451ecc449f0a5573011caf 100644 |
--- a/chrome/browser/plugin_service.cc |
+++ b/chrome/browser/plugin_service.cc |
@@ -246,13 +246,15 @@ void PluginService::OpenChannelToPlugin( |
const std::string& locale, |
IPC::Message* reply_msg) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ |
bool allow_wildcard = true; |
WebPluginInfo info; |
FilePath plugin_path; |
if (NPAPI::PluginList::Singleton()->GetPluginInfo( |
- url, mime_type, allow_wildcard, &info, NULL) && info.enabled) { |
+ url, mime_type, allow_wildcard, &info, NULL) && info.enabled) { |
plugin_path = info.path; |
} |
+ |
PluginProcessHost* plugin_host = FindOrStartPluginProcess(plugin_path); |
if (plugin_host) { |
plugin_host->OpenChannelToPlugin(renderer_msg_filter, mime_type, reply_msg); |