summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_exclgroup.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-22 21:28:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-22 21:28:58 +0000
commitbc948ce8d553422ef2a6285356e09e0261702583 (patch)
tree557fdd07a2595d6bbd84c38fab41626719c162dc /fxjs/xfa/cjx_exclgroup.cpp
parent04f50cf6ce219c7526acc6304ef2efd8c151f998 (diff)
downloadpdfium-bc948ce8d553422ef2a6285356e09e0261702583.tar.xz
Remove CXFA_WidgetAcc from CXFA_FFNotify
This CL updates CXFA_FFNotify to use CXFA_Node instead of CXFA_WidgetAcc in its methods. Change-Id: I5036767f439ba0794a7b2b9df1898aad8390f987 Reviewed-on: https://pdfium-review.googlesource.com/23411 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_exclgroup.cpp')
-rw-r--r--fxjs/xfa/cjx_exclgroup.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_exclgroup.cpp b/fxjs/xfa/cjx_exclgroup.cpp
index 4facdcae47..6d9f5407de 100644
--- a/fxjs/xfa/cjx_exclgroup.cpp
+++ b/fxjs/xfa/cjx_exclgroup.cpp
@@ -50,7 +50,8 @@ CJS_Return CJX_ExclGroup::execInitialize(
CXFA_FFNotify* pNotify = GetDocument()->GetNotify();
if (pNotify)
- pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Initialize);
+ pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Initialize, false,
+ true);
return CJS_Return(true);
}
@@ -62,7 +63,8 @@ CJS_Return CJX_ExclGroup::execCalculate(
CXFA_FFNotify* pNotify = GetDocument()->GetNotify();
if (pNotify)
- pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Calculate);
+ pNotify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Calculate, false,
+ true);
return CJS_Return(true);
}
@@ -76,7 +78,8 @@ CJS_Return CJX_ExclGroup::execValidate(
if (!notify)
return CJS_Return(runtime->NewBoolean(false));
- int32_t iRet = notify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Validate);
+ int32_t iRet = notify->ExecEventByDeepFirst(GetXFANode(), XFA_EVENT_Validate,
+ false, true);
return CJS_Return(runtime->NewBoolean(iRet != XFA_EVENTERROR_Error));
}