summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy')
-rw-r--r--ppapi/proxy/dispatcher.cc4
-rw-r--r--ppapi/proxy/dispatcher.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/proxy/dispatcher.cc b/ppapi/proxy/dispatcher.cc
index 072134d..3f18877 100644
--- a/ppapi/proxy/dispatcher.cc
+++ b/ppapi/proxy/dispatcher.cc
@@ -77,12 +77,12 @@ Dispatcher::~Dispatcher() {
}
bool Dispatcher::InitWithChannel(MessageLoop* ipc_message_loop,
- const std::string& channel_name,
+ const IPC::ChannelHandle& channel_handle,
bool is_client,
base::WaitableEvent* shutdown_event) {
IPC::Channel::Mode mode = is_client ? IPC::Channel::MODE_CLIENT
: IPC::Channel::MODE_SERVER;
- channel_.reset(new IPC::SyncChannel(channel_name, mode, this,
+ channel_.reset(new IPC::SyncChannel(channel_handle, mode, this,
ipc_message_loop, false, shutdown_event));
return true;
}
diff --git a/ppapi/proxy/dispatcher.h b/ppapi/proxy/dispatcher.h
index deee5fc..1c76cb8 100644
--- a/ppapi/proxy/dispatcher.h
+++ b/ppapi/proxy/dispatcher.h
@@ -62,7 +62,7 @@ class Dispatcher : public IPC::Channel::Listener,
~Dispatcher();
bool InitWithChannel(MessageLoop* ipc_message_loop,
- const std::string& channel_name,
+ const IPC::ChannelHandle& channel_handle,
bool is_client,
base::WaitableEvent* shutdown_event);