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
@@ -99,7 +99,7 @@ DeadObjectProxy::construct(JSContext* cx, HandleObject wrapper, const CallArgs&
bool
DeadObjectProxy::nativeCall(JSContext* cx, IsAcceptableThis test, NativeImpl impl,
CallArgs args) const
const CallArgs& args) const
{
JS_ReportErrorNumber(cx, js_GetErrorMessage, nullptr, JSMSG_DEAD_OBJECT);
return false;