Index: content/browser/plugin_service.cc |
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc |
index ffc6d2808a5e59abaedac3f3305f6947fc7683ce..a3f24c9652bd2e1b52b5a5ee74e153644c902552 100644 |
--- a/content/browser/plugin_service.cc |
+++ b/content/browser/plugin_service.cc |
@@ -508,8 +508,11 @@ void PluginService::GetPlugins(const GetPluginsCallback& callback) { |
target_loop->PostTask(FROM_HERE, |
base::Bind(&RunGetPluginsCallback, callback, cached_plugins)); |
} else { |
+ if (!plugin_loader_.get()) |
+ plugin_loader_ = new PluginLoaderPosix; |
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |
- base::Bind(&PluginLoaderPosix::LoadPlugins, target_loop, callback)); |
+ base::Bind(&PluginLoaderPosix::LoadPlugins, plugin_loader_, |
+ target_loop, callback)); |
} |
#endif |
} |