| 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 2f497c6bfec29ad41337a9590eed6fb9b4125b1e..ec23e3017e6e04dbeb465ea836bccb2f55ca76a1 100644
|
| --- a/handler/mac/crash_report_exception_handler.cc
|
| +++ b/handler/mac/crash_report_exception_handler.cc
|
| @@ -58,8 +58,10 @@ class CallErrorWritingCrashReport {
|
| } // namespace
|
|
|
| CrashReportExceptionHandler::CrashReportExceptionHandler(
|
| - CrashReportDatabase* database)
|
| - : database_(database) {
|
| + CrashReportDatabase* database,
|
| + CrashReportUploadThread* upload_thread)
|
| + : database_(database),
|
| + upload_thread_(upload_thread) {
|
| }
|
|
|
| CrashReportExceptionHandler::~CrashReportExceptionHandler() {
|
| @@ -132,6 +134,8 @@ kern_return_t CrashReportExceptionHandler::CatchMachException(
|
| return KERN_FAILURE;
|
| }
|
|
|
| + upload_thread_->ReportPending();
|
| +
|
| return ExcServerSuccessfulReturnValue(behavior, false);
|
| }
|
|
|
|
|