Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / xwalk / extensions / extension_process / xwalk_extension_process.cc
index 4429c90..ca32677 100644 (file)
@@ -99,7 +99,7 @@ void XWalkExtensionProcess::CreateRenderProcessChannel() {
       std::string()));
   rp_channel_handle_ = handle;
 
-  render_process_channel_= IPC::SyncChannel::Create(rp_channel_handle_,
+  render_process_channel_ = IPC::SyncChannel::Create(rp_channel_handle_,
       IPC::Channel::MODE_SERVER, &extensions_server_,
       io_thread_.message_loop_proxy(), true, &shutdown_event_);
 
@@ -107,9 +107,8 @@ void XWalkExtensionProcess::CreateRenderProcessChannel() {
     // On POSIX, pass the server-side file descriptor. We use
     // TakeClientFileDescriptor() instead of GetClientFileDescriptor()
     // since the client-side channel will take ownership of the fd.
-    rp_channel_handle_.socket =
-       base::FileDescriptor(render_process_channel_->TakeClientFileDescriptor(),
-          true);
+    rp_channel_handle_.socket = base::FileDescriptor(
+      render_process_channel_->TakeClientFileDescriptor());
 #endif
 
   extensions_server_.Initialize(render_process_channel_.get());