summaryrefslogtreecommitdiffstats
path: root/toolkit/components/terminator
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/terminator')
-rw-r--r--toolkit/components/terminator/nsTerminator.cpp6
1 files changed, 2 insertions, 4 deletions
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