summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-toolkit_xre_nsEmbedFunctions.cpp
blob: caac874012c99d7c45a71fb375a75d1ce6185b00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp
index 9ce6af94637c..44165558f7ec 100644
--- toolkit/xre/nsEmbedFunctions.cpp
+++ toolkit/xre/nsEmbedFunctions.cpp
@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
           static_cast<CrashReporter::ProcessId>(*crashHelperPidArg);
 #endif  // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)
 
+#if !defined(XP_FREEBSD)
       exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler(
           std::move(*crashReporterArg), crashHelperPid);
       MOZ_ASSERT(exceptionHandlerIsSet,
                  "Should have been able to set remote exception handler");
+#endif
 
       if (!exceptionHandlerIsSet) {
         // Bug 684322 will add better visibility into this condition