Fix CallArgs usage.

This resolves #667.
This commit is contained in:
Pale Moon
2017-01-12 16:03:09 +01:00
committed by roytam1
parent 1543f5dc94
commit 18e2173c3d
54 changed files with 303 additions and 296 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class ScriptedDirectProxyHandler : public DirectProxyHandler {
// A scripted proxy should not be treated as generic in most contexts.
virtual bool nativeCall(JSContext* cx, IsAcceptableThis test, NativeImpl impl,
CallArgs args) const override;
const CallArgs& args) const override;
virtual bool hasInstance(JSContext* cx, HandleObject proxy, MutableHandleValue v,
bool* bp) const override;
virtual bool objectClassIs(HandleObject obj, ESClassValue classValue,