| Index: ppapi/proxy/proxy_channel.cc
 | 
| diff --git a/ppapi/proxy/proxy_channel.cc b/ppapi/proxy/proxy_channel.cc
 | 
| index b7f8a826ce3245bfbf40d203f642b3f58d64514e..db2a30f8094b69d8c9c1df7106c3b2ea6c423b68 100644
 | 
| --- a/ppapi/proxy/proxy_channel.cc
 | 
| +++ b/ppapi/proxy/proxy_channel.cc
 | 
| @@ -31,11 +31,14 @@ bool ProxyChannel::InitWithChannel(Delegate* delegate,
 | 
|                                     bool is_client) {
 | 
|    delegate_ = delegate;
 | 
|    peer_pid_ = peer_pid;
 | 
| -  IPC::Channel::Mode mode = is_client ? IPC::Channel::MODE_CLIENT
 | 
| -                                      : IPC::Channel::MODE_SERVER;
 | 
| -  channel_.reset(new IPC::SyncChannel(channel_handle, mode, this,
 | 
| -                                      delegate->GetIPCMessageLoop(), true,
 | 
| -                                      delegate->GetShutdownEvent()));
 | 
| +  channel_ = IPC::SyncChannel::Create(
 | 
| +      this,
 | 
| +      delegate->GetIPCMessageLoop(),
 | 
| +      delegate->GetShutdownEvent());
 | 
| +  if (is_client)
 | 
| +    channel_->InitClient(channel_handle, true);
 | 
| +  else
 | 
| +    channel_->InitServer(channel_handle, true);
 | 
|    return true;
 | 
|  }
 | 
|  
 | 
| 
 |