summaryrefslogtreecommitdiffstats
path: root/netwerk/ipc/NeckoMessageUtils.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /netwerk/ipc/NeckoMessageUtils.h
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'netwerk/ipc/NeckoMessageUtils.h')
-rw-r--r--netwerk/ipc/NeckoMessageUtils.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/netwerk/ipc/NeckoMessageUtils.h b/netwerk/ipc/NeckoMessageUtils.h
index a15398330e..a0729a94a0 100644
--- a/netwerk/ipc/NeckoMessageUtils.h
+++ b/netwerk/ipc/NeckoMessageUtils.h
@@ -10,15 +10,15 @@
#include "ipc/EnumSerializer.h"
#include "ipc/IPCMessageUtils.h"
+#include "ipc/IPCMessageUtilsSpecializations.h"
+#include "mozilla/net/DNS.h"
#include "nsExceptionHandler.h"
+#include "nsIDNSService.h"
#include "nsIHttpChannel.h"
+#include "nsITRRSkipReason.h"
#include "nsPrintfCString.h"
#include "nsString.h"
#include "prio.h"
-#include "mozilla/net/DNS.h"
-#include "ipc/IPCMessageUtilsSpecializations.h"
-#include "nsITRRSkipReason.h"
-#include "nsIDNSService.h"
namespace IPC {
@@ -92,9 +92,9 @@ struct ParamTraits<mozilla::net::NetAddr> {
#endif
} else {
if (XRE_IsParentProcess()) {
- nsPrintfCString msg("%d", aParam.raw.family);
- CrashReporter::AnnotateCrashReport(
- CrashReporter::Annotation::UnknownNetAddrSocketFamily, msg);
+ CrashReporter::RecordAnnotationU32(
+ CrashReporter::Annotation::UnknownNetAddrSocketFamily,
+ aParam.raw.family);
}
MOZ_CRASH("Unknown socket family");