summaryrefslogtreecommitdiffstats
path: root/dom/xslt/xpath/txXPCOMExtensionFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xslt/xpath/txXPCOMExtensionFunction.cpp')
-rw-r--r--dom/xslt/xpath/txXPCOMExtensionFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/xslt/xpath/txXPCOMExtensionFunction.cpp b/dom/xslt/xpath/txXPCOMExtensionFunction.cpp
index 4913702aa..032161722 100644
--- a/dom/xslt/xpath/txXPCOMExtensionFunction.cpp
+++ b/dom/xslt/xpath/txXPCOMExtensionFunction.cpp
@@ -322,7 +322,7 @@ public:
void trace(JSTracer* trc) {
for (uint8_t i = 0; i < mCount; ++i) {
if (mArray[i].type == nsXPTType::T_JSVAL) {
- JS::UnsafeTraceRoot(trc, &mArray[i].val.j, "txParam value");
+ JS::UnsafeTraceRoot(trc, &mArray[i].val.j.asValueRef(), "txParam value");
}
}
}