diff options
Diffstat (limited to 'fxjs/xfa/cjx_tree.cpp')
-rw-r--r-- | fxjs/xfa/cjx_tree.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_tree.cpp b/fxjs/xfa/cjx_tree.cpp index 6c5e5abd89..8e3143ecc7 100644 --- a/fxjs/xfa/cjx_tree.cpp +++ b/fxjs/xfa/cjx_tree.cpp @@ -21,11 +21,10 @@ const CJX_MethodSpec CJX_Tree::MethodSpecs[] = { {"resolveNode", resolveNode_static}, - {"resolveNodes", resolveNodes_static}, - {"", nullptr}}; + {"resolveNodes", resolveNodes_static}}; CJX_Tree::CJX_Tree(CXFA_Object* obj) : CJX_Object(obj) { - DefineMethods(MethodSpecs); + DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); } CJX_Tree::~CJX_Tree() {} |