summaryrefslogtreecommitdiff
path: root/js/src/proxy/Wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/proxy/Wrapper.cpp')
-rw-r--r--js/src/proxy/Wrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/proxy/Wrapper.cpp b/js/src/proxy/Wrapper.cpp
index bb69123a59..36cb1317f7 100644
--- a/js/src/proxy/Wrapper.cpp
+++ b/js/src/proxy/Wrapper.cpp
@@ -259,11 +259,11 @@ Wrapper::className(JSContext* cx, HandleObject proxy) const
}
JSString*
-Wrapper::fun_toString(JSContext* cx, HandleObject proxy, unsigned indent) const
+Wrapper::fun_toString(JSContext* cx, HandleObject proxy, bool isToSource) const
{
assertEnteredPolicy(cx, proxy, JSID_VOID, GET);
RootedObject target(cx, proxy->as<ProxyObject>().target());
- return fun_toStringHelper(cx, target, indent);
+ return fun_toStringHelper(cx, target, isToSource);
}
bool