summaryrefslogtreecommitdiff
path: root/fxjs/cjs_report.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_report.cpp')
-rw-r--r--fxjs/cjs_report.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_report.cpp b/fxjs/cjs_report.cpp
index eccba07a99..868e9c3279 100644
--- a/fxjs/cjs_report.cpp
+++ b/fxjs/cjs_report.cpp
@@ -22,7 +22,7 @@ const char CJS_Report::kName[] = "Report";
void CJS_Report::DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType) {
ObjDefnID = pEngine->DefineObj(CJS_Report::kName, eObjType,
JSConstructor<CJS_Report>, JSDestructor);
- DefineMethods(pEngine, ObjDefnID, MethodSpecs, FX_ArraySize(MethodSpecs));
+ DefineMethods(pEngine, ObjDefnID, MethodSpecs);
}
CJS_Report::CJS_Report(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime)