diff options
Diffstat (limited to 'fxjs/cjs_console.cpp')
-rw-r--r-- | fxjs/cjs_console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_console.cpp b/fxjs/cjs_console.cpp index 02babea19e..1ccf72feea 100644 --- a/fxjs/cjs_console.cpp +++ b/fxjs/cjs_console.cpp @@ -25,7 +25,7 @@ const char CJS_Console::kName[] = "console"; void CJS_Console::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj(CJS_Console::kName, FXJSOBJTYPE_STATIC, JSConstructor<CJS_Console>, JSDestructor); - DefineMethods(pEngine, ObjDefnID, MethodSpecs, FX_ArraySize(MethodSpecs)); + DefineMethods(pEngine, ObjDefnID, MethodSpecs); } CJS_Console::CJS_Console(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime) |