Index: ipc/ipc_channel_proxy.h |
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h |
index 84abc6536adb42abeb52c5862f2fe18f569113e3..716fb6959157a05b41c06ab0e551e9b52469c5c5 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; |