Index: client/simulate_crash_mac.cc |
diff --git a/client/simulate_crash_mac.cc b/client/simulate_crash_mac.cc |
index cda6b76d201e5c39ec8ee902231bacc87786c92a..71d5d904f7a13932bdb97565e356cb353a1b16bc 100644 |
--- a/client/simulate_crash_mac.cc |
+++ b/client/simulate_crash_mac.cc |
@@ -221,7 +221,7 @@ void SimulateCrash(const NativeCPUContext& cpu_context) { |
DCHECK_LE(handlers.size(), 1u); |
if (handlers.size() == 1) { |
DCHECK(handlers[0].mask & EXC_MASK_CRASH); |
- success = DeliverException(thread, |
+ success = DeliverException(thread.get(), |
mach_task_self(), |
exception, |
codes, |