Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: handler/mac/crash_report_upload_thread.cc

Issue 987693004: Mac 10.6 SDK compatibility (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Define __STDC_FORMAT_MACROS Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/crash_report_database_win.cc ('k') | util/misc/uuid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « client/crash_report_database_win.cc ('k') | util/misc/uuid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698