diff options
Diffstat (limited to 'fxjs/xfa/cjx_list.cpp')
-rw-r--r-- | fxjs/xfa/cjx_list.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_list.cpp b/fxjs/xfa/cjx_list.cpp index 84bdf7bd07..198804dbed 100644 --- a/fxjs/xfa/cjx_list.cpp +++ b/fxjs/xfa/cjx_list.cpp @@ -18,11 +18,10 @@ const CJX_MethodSpec CJX_List::MethodSpecs[] = {{"append", append_static}, {"insert", insert_static}, {"item", item_static}, - {"remove", remove_static}, - {"", nullptr}}; + {"remove", remove_static}}; CJX_List::CJX_List(CXFA_List* list) : CJX_Object(list) { - DefineMethods(MethodSpecs); + DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); } CJX_List::~CJX_List() {} |