diff options
Diffstat (limited to 'ipc/glue/BackgroundChildImpl.cpp')
-rw-r--r-- | ipc/glue/BackgroundChildImpl.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ipc/glue/BackgroundChildImpl.cpp b/ipc/glue/BackgroundChildImpl.cpp index 5bcfbd2838..f21f393e2c 100644 --- a/ipc/glue/BackgroundChildImpl.cpp +++ b/ipc/glue/BackgroundChildImpl.cpp @@ -138,9 +138,8 @@ void BackgroundChildImpl::ProcessingError(Result aCode, const char* aReason) { MOZ_CRASH("Unknown error code!"); } - nsDependentCString reason(aReason); - CrashReporter::AnnotateCrashReport( - CrashReporter::Annotation::ipc_channel_error, reason); + CrashReporter::RecordAnnotationCString( + CrashReporter::Annotation::ipc_channel_error, aReason); MOZ_CRASH_UNSAFE_PRINTF("%s: %s", abortMessage.get(), aReason); } |