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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.cc

Issue 1292263003: ipc: Use a global for the process's attachment broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_message2
Patch Set: Comments from avi. Created 5 years, 3 months 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
« no previous file with comments | « content/renderer/npapi/plugin_channel_host.cc ('k') | ipc/attachment_broker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_delegate_proxy.cc
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.cc b/content/renderer/npapi/webplugin_delegate_proxy.cc
index 0f9768e4ebd2546731da088e14e958c04b552a0e..22d2799625fc3198b73058ecdf8e097241601c26 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc
@@ -322,8 +322,7 @@ bool WebPluginDelegateProxy::Initialize(
}
channel_host = PluginChannelHost::GetPluginChannelHost(
- channel_handle, ChildProcess::current()->io_task_runner(),
- RenderThreadImpl::current()->GetAttachmentBroker());
+ channel_handle, ChildProcess::current()->io_task_runner());
if (!channel_host.get()) {
LOG(ERROR) << "Couldn't get PluginChannelHost";
continue;
« no previous file with comments | « content/renderer/npapi/plugin_channel_host.cc ('k') | ipc/attachment_broker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698