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