Index: util/mach/exc_server_variants.cc |
diff --git a/util/mach/exc_server_variants.cc b/util/mach/exc_server_variants.cc |
index 821cad8db4894c4dd323c3f646fe047287ab05b4..f8d7f4930ff9cd2048ca3eea20da3ef49038ce78 100644 |
--- a/util/mach/exc_server_variants.cc |
+++ b/util/mach/exc_server_variants.cc |
@@ -515,8 +515,8 @@ kern_return_t SimplifiedExcServer::CatchExceptionRaiseState( |
bool destroy_complex_request = false; |
return interface_->CatchException(EXCEPTION_STATE, |
exception_port, |
- MACH_PORT_NULL, |
- MACH_PORT_NULL, |
+ THREAD_NULL, |
+ TASK_NULL, |
exception, |
code, |
code_count, |
@@ -602,8 +602,8 @@ kern_return_t SimplifiedMachExcServer::CatchMachExceptionRaiseState( |
bool destroy_complex_request = false; |
return interface_->CatchMachException(EXCEPTION_STATE | MACH_EXCEPTION_CODES, |
exception_port, |
- MACH_PORT_NULL, |
- MACH_PORT_NULL, |
+ THREAD_NULL, |
+ TASK_NULL, |
exception, |
code, |
code_count, |