diff options
Diffstat (limited to 'fxjs/xfa/cjx_instancemanager.cpp')
-rw-r--r-- | fxjs/xfa/cjx_instancemanager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_instancemanager.cpp b/fxjs/xfa/cjx_instancemanager.cpp index 19c6d72cc3..23048f98a5 100644 --- a/fxjs/xfa/cjx_instancemanager.cpp +++ b/fxjs/xfa/cjx_instancemanager.cpp @@ -22,12 +22,11 @@ const CJX_MethodSpec CJX_InstanceManager::MethodSpecs[] = { {"insertInstance", insertInstance_static}, {"moveInstance", moveInstance_static}, {"removeInstance", removeInstance_static}, - {"setInstances", setInstances_static}, - {"", nullptr}}; + {"setInstances", setInstances_static}}; CJX_InstanceManager::CJX_InstanceManager(CXFA_InstanceManager* mgr) : CJX_Node(mgr) { - DefineMethods(MethodSpecs); + DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); } CJX_InstanceManager::~CJX_InstanceManager() {} |