summaryrefslogtreecommitdiff
path: root/js/public/Proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/public/Proxy.h')
-rw-r--r--js/public/Proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/public/Proxy.h b/js/public/Proxy.h
index 8d24969b20..2453e2e140 100644
--- a/js/public/Proxy.h
+++ b/js/public/Proxy.h
@@ -326,7 +326,7 @@ class JS_FRIEND_API(BaseProxyHandler)
ESClass* cls) const;
virtual bool isArray(JSContext* cx, HandleObject proxy, JS::IsArrayAnswer* answer) const;
virtual const char* className(JSContext* cx, HandleObject proxy) const;
- virtual JSString* fun_toString(JSContext* cx, HandleObject proxy, unsigned indent) const;
+ virtual JSString* fun_toString(JSContext* cx, HandleObject proxy, bool isToSource) const;
virtual bool regexp_toShared(JSContext* cx, HandleObject proxy, RegExpGuard* g) const;
virtual bool boxedValue_unbox(JSContext* cx, HandleObject proxy, MutableHandleValue vp) const;
virtual void trace(JSTracer* trc, JSObject* proxy) const;