diff options
Diffstat (limited to 'content/plugin/plugin_thread.cc')
-rw-r--r-- | content/plugin/plugin_thread.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc index 75a692e..0629d5a 100644 --- a/content/plugin/plugin_thread.cc +++ b/content/plugin/plugin_thread.cc @@ -39,6 +39,8 @@ #include "ui/base/x/x11_util.h" #endif +namespace content { + namespace { class EnsureTerminateMessageFilter : public IPC::ChannelProxy::MessageFilter { @@ -121,10 +123,10 @@ PluginThread::PluginThread() plugin->set_defer_unload(true); } - content::GetContentClient()->plugin()->PluginProcessStarted( + GetContentClient()->plugin()->PluginProcessStarted( plugin.get() ? plugin->plugin_info().name : string16()); - content::GetContentClient()->AddNPAPIPlugins( + GetContentClient()->AddNPAPIPlugins( webkit::npapi::PluginList::Singleton()); // Certain plugins, such as flash, steal the unhandled exception filter @@ -183,3 +185,5 @@ void PluginThread::OnCreateChannel(int renderer_id, void PluginThread::OnNotifyRenderersOfPendingShutdown() { PluginChannel::NotifyRenderersOfPendingShutdown(); } + +} // namespace content |