summaryrefslogtreecommitdiff
path: root/xpcom/base/nsCycleCollector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/base/nsCycleCollector.cpp')
-rw-r--r--xpcom/base/nsCycleCollector.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xpcom/base/nsCycleCollector.cpp b/xpcom/base/nsCycleCollector.cpp
index 2e5804929e..3d4d33a7df 100644
--- a/xpcom/base/nsCycleCollector.cpp
+++ b/xpcom/base/nsCycleCollector.cpp
@@ -622,13 +622,12 @@ PtrInfo::AnnotatedReleaseAssert(bool aCondition, const char* aMessage)
return;
}
-#ifdef MOZ_CRASHREPORTER
+#ifdef MOZ_DEBUG
const char* piName = "Unknown";
if (mParticipant) {
piName = mParticipant->ClassName();
}
- nsPrintfCString msg("%s, for class %s", aMessage, piName);
- CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("CycleCollector"), msg);
+ printf("cc: %s, for class %s\n", aMessage, piName);
#endif
MOZ_CRASH();