summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorJeremy Andrews <athenian200@outlook.com>2022-05-26 18:57:18 -0500
committerJeremy Andrews <athenian200@outlook.com>2022-05-27 07:21:59 -0500
commit64ea1e09c2dfd09bf71738f08e15ec3d7d80e33b (patch)
treeea35d0e6ea0d4e4a20a131224c48e8d3bf844f97 /dom
parentcd55d0fbe4e5dddfc7e0bcc97ffa8a5a9febaff2 (diff)
downloaduxp-64ea1e09c2dfd09bf71738f08e15ec3d7d80e33b.tar.gz
Issue #1742 - Part 4: Don't trigger read barriers when comparing wrapped pointers types
This is actually an undocumented dependency of Bug 1325406 for Linux and SunOS. Ref: BZ 1308236
Diffstat (limited to 'dom')
-rw-r--r--dom/plugins/base/nsJSNPRuntime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/plugins/base/nsJSNPRuntime.cpp b/dom/plugins/base/nsJSNPRuntime.cpp
index 1d42c18d64..7a118cae35 100644
--- a/dom/plugins/base/nsJSNPRuntime.cpp
+++ b/dom/plugins/base/nsJSNPRuntime.cpp
@@ -1747,7 +1747,7 @@ NPObjWrapper_ObjectMoved(JSObject *obj, const JSObject *old)
auto entry =
static_cast<NPObjWrapperHashEntry*>(sNPObjWrappers->Search(npobj));
MOZ_ASSERT(entry && entry->mJSObj);
- MOZ_ASSERT(entry->mJSObj.unbarrieredGetPtr() == old);
+ MOZ_ASSERT(entry->mJSObj == old);
entry->mJSObj = obj;
}