fix: fix crash in crashReporter.getUploadedReports (#20428)
This commit is contained in:
parent
2ce90f8806
commit
ebd55c1147
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue