| Index: handler/mac/crash_report_exception_handler.cc
|
| diff --git a/handler/mac/crash_report_exception_handler.cc b/handler/mac/crash_report_exception_handler.cc
|
| index a54cd0dd2120180420c9c02d6ad0a3d2ca16ee72..288148e9947093df6a7eb914bfb4d52fef36de7b 100644
|
| --- a/handler/mac/crash_report_exception_handler.cc
|
| +++ b/handler/mac/crash_report_exception_handler.cc
|
| @@ -186,7 +186,7 @@ kern_return_t CrashReportExceptionHandler::CatchMachException(
|
| // vendor.
|
| base::mac::ScopedMachSendRight
|
| system_crash_reporter_handler(SystemCrashReporterHandler());
|
| - if (system_crash_reporter_handler) {
|
| + if (system_crash_reporter_handler.get()) {
|
| // Make copies of mutable out parameters so that the system crash reporter
|
| // can’t influence the state returned by this method.
|
| thread_state_flavor_t flavor_forward = *flavor;
|
| @@ -205,7 +205,7 @@ kern_return_t CrashReportExceptionHandler::CatchMachException(
|
| // will be available.
|
| kern_return_t kr = UniversalExceptionRaise(
|
| EXCEPTION_STATE_IDENTITY | MACH_EXCEPTION_CODES,
|
| - system_crash_reporter_handler,
|
| + system_crash_reporter_handler.get(),
|
| thread,
|
| task,
|
| exception,
|
|
|