Index: ipc/ipc_channel_proxy.h |
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h |
index 00d5f42934317432503cb891c87dbb9d2358019f..4f02bb649c3c093702f4a67e8cca13228ef1edaa 100644 |
--- a/ipc/ipc_channel_proxy.h |
+++ b/ipc/ipc_channel_proxy.h |
@@ -119,11 +119,12 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { |
// Returns base::kNullProcessId if the peer is not connected yet. |
base::ProcessId GetPeerPID() const { return context_->peer_pid_; } |
-#if defined(OS_POSIX) && !defined(OS_NACL) |
+#if defined(OS_POSIX) && \ |
+ (!defined(OS_NACL) || defined(__native_client_nonsfi__)) |
// Calls through to the underlying channel's methods. |
int GetClientFileDescriptor(); |
int TakeClientFileDescriptor(); |
-#endif // defined(OS_POSIX) |
+#endif |
protected: |
class Context; |