Index: tools/mac/exception_port_tool.cc |
diff --git a/tools/mac/exception_port_tool.cc b/tools/mac/exception_port_tool.cc |
index e26c1bb063dbb87a33b36a208bd88c750b94eacd..b873e68b897611f3efeec3c82cb0970304fc67ba 100644 |
--- a/tools/mac/exception_port_tool.cc |
+++ b/tools/mac/exception_port_tool.cc |
@@ -195,7 +195,7 @@ void ShowBootstrapService(const std::string& service_name, |
return; |
} |
- mach_send_right_pool->AddSendRight(service_port); |
+ mach_send_right_pool->AddSendRight(service_port.get()); |
printf("service %s %#x\n", service_name.c_str(), service_port.get()); |
} |
@@ -300,7 +300,7 @@ bool SetExceptionPort(const ExceptionHandlerDescription* description, |
ExceptionPorts exception_ports(description->target_type, target_port); |
if (!exception_ports.SetExceptionPort(description->mask, |
- service_port, |
+ service_port.get(), |
description->behavior, |
description->flavor)) { |
return false; |