| Index: handler/mac/crash_report_upload_thread.cc
|
| diff --git a/handler/mac/crash_report_upload_thread.cc b/handler/mac/crash_report_upload_thread.cc
|
| index a5ae5d05d7444637293db6814c1b58794a7e7c54..9efbfd9eebb9be32e465a4f697fc6d7d4be695a3 100644
|
| --- a/handler/mac/crash_report_upload_thread.cc
|
| +++ b/handler/mac/crash_report_upload_thread.cc
|
| @@ -73,7 +73,7 @@ std::map<std::string, std::string> BreakpadHTTPFormParametersFromMinidump(
|
|
|
| if (!list_annotations.empty()) {
|
| // Remove the final newline character.
|
| - list_annotations.pop_back();
|
| + list_annotations.resize(list_annotations.size() - 1);
|
|
|
| const char kListAnnotationsKey[] = "list_annotations";
|
| auto it = parameters.find(kListAnnotationsKey);
|
| @@ -187,7 +187,7 @@ void CrashReportUploadThread::ThreadMain() {
|
| }
|
|
|
| void CrashReportUploadThread::ProcessPendingReports() {
|
| - std::vector<const CrashReportDatabase::Report> reports;
|
| + std::vector<CrashReportDatabase::Report> reports;
|
| if (database_->GetPendingReports(&reports) != CrashReportDatabase::kNoError) {
|
| // The database is sick. It might be prudent to stop trying to poke it from
|
| // this thread by abandoning the thread altogether. On the other hand, if
|
|
|