Index: components/nacl/loader/nonsfi/nonsfi_listener.cc |
diff --git a/components/nacl/loader/nonsfi/nonsfi_listener.cc b/components/nacl/loader/nonsfi/nonsfi_listener.cc |
index 5f212babe28493ceace4e5cca3420c6ea80fc720..43f1e0c4d281c794d77f84ee837f4fff5790567b 100644 |
--- a/components/nacl/loader/nonsfi/nonsfi_listener.cc |
+++ b/components/nacl/loader/nonsfi/nonsfi_listener.cc |
@@ -147,9 +147,12 @@ void NonSfiListener::OnStart(const nacl::NaClStartParams& params) { |
CHECK(params.version.size() == 0); |
// Ensure that a debug stub FD isn't passed through accidentally. |
CHECK(!params.enable_debug_stub); |
- CHECK(params.debug_stub_server_bound_socket.fd == -1); |
+ CHECK(params.imc_bootstrap_handle == IPC::InvalidPlatformFileForTransit()); |
+ CHECK(params.irt_handle == IPC::InvalidPlatformFileForTransit()); |
+ CHECK(params.mac_shm_fd == IPC::InvalidPlatformFileForTransit()); |
+ CHECK(params.debug_stub_server_bound_socket == |
+ IPC::InvalidPlatformFileForTransit()); |
- CHECK(params.handles.empty()); |
// We are only expecting non-SFI mode to be used with NaCl for now, |
// not PNaCl processes. |
CHECK(params.process_type == kNativeNaClProcessType); |