Index: trunk/src/content/child/npapi/np_channel_base.cc |
=================================================================== |
--- trunk/src/content/child/npapi/np_channel_base.cc (revision 274314) |
+++ trunk/src/content/child/npapi/np_channel_base.cc (working copy) |
@@ -178,9 +178,9 @@ |
return false; |
#endif |
- channel_ = IPC::SyncChannel::Create( |
- this, ipc_message_loop, shutdown_event); |
- channel_->InitByMode(channel_handle_, mode_, create_pipe_now); |
+ channel_.reset(new IPC::SyncChannel( |
+ channel_handle_, mode_, this, ipc_message_loop, create_pipe_now, |
+ shutdown_event)); |
#if defined(OS_POSIX) |
// Check the validity of fd for bug investigation. Remove after fixed. |