Index: ipc/ipc_channel_proxy.h |
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h |
index 71a014bd1bfc872c80eac29832c8beaf8d2eddab..e2ad4a9495c1c0b4de821008c0b592f48025ebe7 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(); |
base::ScopedFD TakeClientFileDescriptor(); |
-#endif // defined(OS_POSIX) |
+#endif |
protected: |
class Context; |