summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc')
-rw-r--r--toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc b/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
index 92a0443d79..efb97c00cb 100644
--- a/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
+++ b/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
@@ -97,7 +97,6 @@
#include "common/linux/eintr_wrapper.h"
#include "third_party/lss/linux_syscall_support.h"
#if defined(MOZ_OXIDIZED_BREAKPAD)
-#include "nsString.h"
#include "mozilla/toolkit/crashreporter/rust_minidump_writer_linux_ffi_generated.h"
#endif
@@ -854,9 +853,10 @@ bool ExceptionHandler::WriteMinidumpForChild(pid_t child,
MinidumpDescriptor descriptor(dump_path);
descriptor.UpdatePath();
#if defined(MOZ_OXIDIZED_BREAKPAD)
- nsCString error_msg;
- if (!write_minidump_linux(descriptor.path(), child, child_blamed_thread, &error_msg))
+ char* error_msg;
+ if (!write_minidump_linux(descriptor.path(), child, child_blamed_thread, &error_msg)) {
return false;
+ }
#else
if (!google_breakpad::WriteMinidump(descriptor.path(),
child,