Index: content/child/npapi/np_channel_base.cc |
diff --git a/content/child/npapi/np_channel_base.cc b/content/child/npapi/np_channel_base.cc |
index 76845bd8f21a9707079d201782c4ea9414747157..e7f2ca26bd2592c0f6c34753bbc779ff0a9d8f08 100644 |
--- a/content/child/npapi/np_channel_base.cc |
+++ b/content/child/npapi/np_channel_base.cc |
@@ -178,9 +178,9 @@ bool NPChannelBase::Init(base::MessageLoopProxy* ipc_message_loop, |
return false; |
#endif |
- channel_.reset(new IPC::SyncChannel( |
+ channel_ = IPC::SyncChannel::Create( |
channel_handle_, mode_, this, ipc_message_loop, create_pipe_now, |
- shutdown_event)); |
+ shutdown_event); |
#if defined(OS_POSIX) |
// Check the validity of fd for bug investigation. Remove after fixed. |