Skip to content

Commit

Permalink
fix: fix crash in crashReporter.getUploadedReports (#20428)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Oct 8, 2019
1 parent 2ce90f8 commit ebd55c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/common/crash_reporter/crash_reporter_crashpad.cc
Expand Up @@ -109,7 +109,7 @@ CrashReporterCrashpad::GetUploadedReports(const base::FilePath& crashes_dir) {

auto sort_by_time = [](const UploadReportResult& a,
const UploadReportResult& b) {
return a.first >= b.first;
return a.first > b.first;
};
std::sort(uploaded_reports.begin(), uploaded_reports.end(), sort_by_time);
return uploaded_reports;
Expand Down

0 comments on commit ebd55c1

Please sign in to comment.