diff options
Diffstat (limited to 'fxjs/xfa/cjx_list.cpp')
-rw-r--r-- | fxjs/xfa/cjx_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_list.cpp b/fxjs/xfa/cjx_list.cpp index b6ac47ec79..fcac45f58c 100644 --- a/fxjs/xfa/cjx_list.cpp +++ b/fxjs/xfa/cjx_list.cpp @@ -22,7 +22,7 @@ const CJX_MethodSpec CJX_List::MethodSpecs[] = {{"append", append_static}, {"remove", remove_static}}; CJX_List::CJX_List(CXFA_List* list) : CJX_Object(list) { - DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); + DefineMethods(MethodSpecs); } CJX_List::~CJX_List() {} |