| Index: ipc/mojo/ipc_mojo_bootstrap.cc
|
| diff --git a/ipc/mojo/ipc_mojo_bootstrap.cc b/ipc/mojo/ipc_mojo_bootstrap.cc
|
| index 434f002744a5551fb719edb00ee013cadf3b9205..596925ee09686fc523752041038e12c96c16aa48 100644
|
| --- a/ipc/mojo/ipc_mojo_bootstrap.cc
|
| +++ b/ipc/mojo/ipc_mojo_bootstrap.cc
|
| @@ -154,7 +154,11 @@ base::ProcessId MojoBootstrap::GetSelfPID() const {
|
| if (int global_pid = Channel::GetGlobalPid())
|
| return global_pid;
|
| #endif // OS_LINUX
|
| +#if defined(OS_NACL)
|
| + return -1;
|
| +#else
|
| return base::GetCurrentProcId();
|
| +#endif // defined(OS_NACL)
|
| }
|
|
|
| void MojoBootstrap::Fail() {
|
|
|