Trying narrow when atom crash started between 55 and 60 and if its easy to revert.
This commit is contained in:
win7-7 2026-01-14 00:38:31 +02:00 committed by wuggy
commit 17e93e902c
51 changed files with 3856 additions and 660 deletions

View file

@ -7,6 +7,7 @@
#ifndef mozilla_jsipc_JavaScriptShared_h__
#define mozilla_jsipc_JavaScriptShared_h__
#include "mozilla/HashFunctions.h"
#include "mozilla/dom/DOMTypes.h"
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
#include "mozilla/jsipc/PJavaScript.h"
@ -71,7 +72,7 @@ struct ObjectIdHasher
{
typedef ObjectId Lookup;
static js::HashNumber hash(const Lookup& l) {
return l.serialize();
return mozilla::HashGeneric(l.serialize());
}
static bool match(const ObjectId& k, const ObjectId& l) {
return k == l;