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

Unified Diff: content/renderer/pepper/renderer_ppapi_host_impl.cc

Issue 11722017: Use an explicit PID for duplicating Pepper handles rather than the Channel's. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/pepper/pepper_proxy_channel_delegate_impl.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/renderer_ppapi_host_impl.cc
diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.cc b/content/renderer/pepper/renderer_ppapi_host_impl.cc
index c573c9706806a8382a00d444d51b3ed823c57f9e..31fb3fd42a731f1451749389c2c00b49e796b001 100644
--- a/content/renderer/pepper/renderer_ppapi_host_impl.cc
+++ b/content/renderer/pepper/renderer_ppapi_host_impl.cc
@@ -36,6 +36,7 @@ RendererPpapiHost::CreateExternalPluginModule(
const FilePath& file_path,
ppapi::PpapiPermissions permissions,
const IPC::ChannelHandle& channel_handle,
+ base::ProcessId plugin_pid,
int plugin_child_id) {
RendererPpapiHost* renderer_ppapi_host = NULL;
// Since we're the embedder, we can make assumptions about the delegate on
@@ -48,6 +49,7 @@ RendererPpapiHost::CreateExternalPluginModule(
file_path,
permissions,
channel_handle,
+ plugin_pid,
plugin_child_id);
}
return renderer_ppapi_host;
« no previous file with comments | « content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698