Index: tools/exception_port_tool.cc |
diff --git a/tools/exception_port_tool.cc b/tools/exception_port_tool.cc |
index 728cf3e8f3f02e15bd494d40aebaf3e1ab4714f4..52ef223b2705454aa9ab6e40a1dc87049969cbf0 100644 |
--- a/tools/exception_port_tool.cc |
+++ b/tools/exception_port_tool.cc |
@@ -280,7 +280,7 @@ void ShowExceptionPorts(const ExceptionPorts& exception_ports, |
bool SetExceptionPort(const ExceptionHandlerDescription* description, |
mach_port_t target_port) { |
base::mac::ScopedMachSendRight service_port_owner; |
- mach_port_t service_port = MACH_PORT_NULL; |
+ exception_handler_t service_port = MACH_PORT_NULL; |
kern_return_t kr; |
if (description->handler.compare( |
0, strlen(kHandlerBootstrapColon), kHandlerBootstrapColon) == 0) { |
@@ -394,7 +394,7 @@ int main(int argc, char* argv[]) { |
std::vector<const char*> show_bootstrap; |
std::vector<ExceptionHandlerDescription> set_handler; |
pid_t pid; |
- mach_port_t alternate_task; |
+ task_t alternate_task; |
bool show_host; |
bool show_task; |
bool show_thread; |