Chromium Code Reviews| Index: chrome/browser/plugin_service.cc |
| diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc |
| index e3e23fdece9fe0d3c9aa0c55d5fbe69f09bd6ddc..14ca3d8e6a6d6332a8d9ce8524f9d4bd31e95bcc 100644 |
| --- a/chrome/browser/plugin_service.cc |
| +++ b/chrome/browser/plugin_service.cc |
| @@ -213,6 +213,9 @@ PluginProcessHost* PluginService::FindOrStartPluginProcess( |
| const FilePath& plugin_path) { |
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
| + if (plugin_path.value().empty()) |
|
jam
2010/11/29 17:14:08
why is this needed? Won't FindPluginProcess retur
|
| + return NULL; |
| + |
| PluginProcessHost* plugin_host = FindPluginProcess(plugin_path); |
| if (plugin_host) |
| return plugin_host; |