summaryrefslogtreecommitdiff
path: root/js/xpconnect/src/XPCWrappedNative.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/src/XPCWrappedNative.cpp')
-rw-r--r--js/xpconnect/src/XPCWrappedNative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/xpconnect/src/XPCWrappedNative.cpp b/js/xpconnect/src/XPCWrappedNative.cpp
index 96f825f05..2e3419f28 100644
--- a/js/xpconnect/src/XPCWrappedNative.cpp
+++ b/js/xpconnect/src/XPCWrappedNative.cpp
@@ -935,7 +935,7 @@ void
XPCWrappedNative::FlatJSObjectMoved(JSObject* obj, const JSObject* old)
{
JS::AutoAssertGCCallback inCallback(obj);
- MOZ_ASSERT(mFlatJSObject.unbarrieredGetPtr() == old);
+ MOZ_ASSERT(mFlatJSObject == old);
nsWrapperCache* cache = nullptr;
CallQueryInterface(mIdentity, &cache);