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

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

Issue 1187153003: Update content module for IPC attachment brokering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GPUChannelHostFactory also needs to virtually inherit from SupportsAttachmentBrokering. This patch … Created 5 years, 6 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
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 a563d553f6b55ff1e90d7fc2ebf0a8a6015e48ca..e5dae21e88c9b4c2b9523491c11fda31c61bc1b5 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc
@@ -322,7 +322,8 @@ bool WebPluginDelegateProxy::Initialize(
}
channel_host = PluginChannelHost::GetPluginChannelHost(
- channel_handle, ChildProcess::current()->io_task_runner());
+ channel_handle, ChildProcess::current()->io_task_runner(),
+ RenderThreadImpl::current()->GetAttachmentBroker());
if (!channel_host.get()) {
LOG(ERROR) << "Couldn't get PluginChannelHost";
continue;
« no previous file with comments | « content/renderer/npapi/plugin_channel_host.cc ('k') | content/test/render_thread_impl_browser_test_ipc_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698