From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- toolkit/components/terminator/nsTerminator.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'toolkit/components/terminator') diff --git a/toolkit/components/terminator/nsTerminator.cpp b/toolkit/components/terminator/nsTerminator.cpp index 3a8f9f4ba6..5a1f9693b8 100644 --- a/toolkit/components/terminator/nsTerminator.cpp +++ b/toolkit/components/terminator/nsTerminator.cpp @@ -606,9 +606,7 @@ void nsTerminator::UpdateTelemetry() { void nsTerminator::UpdateCrashReport(const char* aTopic) { // In case of crash, we wish to know where in shutdown we are - nsAutoCString report(aTopic); - - Unused << CrashReporter::AnnotateCrashReport( - CrashReporter::Annotation::ShutdownProgress, report); + CrashReporter::RecordAnnotationCString( + CrashReporter::Annotation::ShutdownProgress, aTopic); } } // namespace mozilla -- cgit v1.2.3