summaryrefslogtreecommitdiff
path: root/js/src/proxy/ScriptedProxyHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/proxy/ScriptedProxyHandler.h')
-rw-r--r--js/src/proxy/ScriptedProxyHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/proxy/ScriptedProxyHandler.h b/js/src/proxy/ScriptedProxyHandler.h
index 8ce0119185..e464dc24e8 100644
--- a/js/src/proxy/ScriptedProxyHandler.h
+++ b/js/src/proxy/ScriptedProxyHandler.h
@@ -67,7 +67,7 @@ class ScriptedProxyHandler : public BaseProxyHandler
JS::IsArrayAnswer* answer) const override;
virtual const char* className(JSContext* cx, HandleObject proxy) const override;
virtual JSString* fun_toString(JSContext* cx, HandleObject proxy,
- unsigned indent) const override;
+ bool isToSource) const override;
virtual bool regexp_toShared(JSContext* cx, HandleObject proxy,
RegExpGuard* g) const override;
virtual bool boxedValue_unbox(JSContext* cx, HandleObject proxy,