summaryrefslogtreecommitdiff
path: root/js/src/proxy/OpaqueCrossCompartmentWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/proxy/OpaqueCrossCompartmentWrapper.cpp')
-rw-r--r--js/src/proxy/OpaqueCrossCompartmentWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/proxy/OpaqueCrossCompartmentWrapper.cpp b/js/src/proxy/OpaqueCrossCompartmentWrapper.cpp
index 84b42a7cd5..b63e5cc7ab 100644
--- a/js/src/proxy/OpaqueCrossCompartmentWrapper.cpp
+++ b/js/src/proxy/OpaqueCrossCompartmentWrapper.cpp
@@ -191,7 +191,7 @@ OpaqueCrossCompartmentWrapper::className(JSContext* cx,
JSString*
OpaqueCrossCompartmentWrapper::fun_toString(JSContext* cx, HandleObject proxy,
- unsigned indent) const
+ bool isToSource) const
{
JS_ReportErrorNumberASCII(cx, GetErrorMessage, nullptr, JSMSG_INCOMPATIBLE_PROTO,
js_Function_str, js_toString_str, "object");