summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin
diff options
context:
space:
mode:
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r--content/ppapi_plugin/ppapi_thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
index 964127b..5b5c2cf 100644
--- a/content/ppapi_plugin/ppapi_thread.cc
+++ b/content/ppapi_plugin/ppapi_thread.cc
@@ -280,8 +280,8 @@ bool PpapiThread::SetupRendererChannel(base::ProcessHandle host_process_handle,
DCHECK(is_broker_ == (connect_instance_func_ != NULL));
DCHECK(is_broker_ == (get_plugin_interface_ == NULL));
IPC::ChannelHandle plugin_handle;
- plugin_handle.name = StringPrintf("%d.r%d", base::GetCurrentProcId(),
- renderer_id);
+ plugin_handle.name = IPC::Channel::GenerateVerifiedChannelID(
+ StringPrintf("%d.r%d", base::GetCurrentProcId(), renderer_id));
ppapi::proxy::ProxyChannel* dispatcher = NULL;
bool init_result = false;