From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- xpcom/base/nsCycleCollector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xpcom/base/nsCycleCollector.cpp') diff --git a/xpcom/base/nsCycleCollector.cpp b/xpcom/base/nsCycleCollector.cpp index 9c885b6ef1..9c39dee475 100644 --- a/xpcom/base/nsCycleCollector.cpp +++ b/xpcom/base/nsCycleCollector.cpp @@ -628,8 +628,8 @@ void PtrInfo::AnnotatedReleaseAssert(bool aCondition, const char* aMessage) { } nsPrintfCString msg("%s, for class %s", aMessage, piName); NS_WARNING(msg.get()); - CrashReporter::AnnotateCrashReport(CrashReporter::Annotation::CycleCollector, - msg); + CrashReporter::RecordAnnotationNSCString( + CrashReporter::Annotation::CycleCollector, msg); MOZ_CRASH(); } -- cgit v1.2.3