summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdocview.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 21:42:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 21:42:05 +0000
commit255e61ed20e42917e0055710fb5be56b2ad40afc (patch)
treea834a34df4b2db89118012139f6b7ca346748939 /xfa/fxfa/cxfa_ffdocview.cpp
parent5bd9a0bf3a6bf81c3706df595387f9fc497bbd72 (diff)
downloadpdfium-255e61ed20e42917e0055710fb5be56b2ad40afc.tar.xz
Rename CXFA_Validate to CXFA_ValidateData
This CL renames CXFA_Validate to CXFA_ValidateData to signify it is part of the data hierarchy. Change-Id: Ib6f743513160990b6d64c4b10618f16554dc5c08 Reviewed-on: https://pdfium-review.googlesource.com/18017 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdocview.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffdocview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffdocview.cpp b/xfa/fxfa/cxfa_ffdocview.cpp
index 1779b9e2f0..57cd7d2f95 100644
--- a/xfa/fxfa/cxfa_ffdocview.cpp
+++ b/xfa/fxfa/cxfa_ffdocview.cpp
@@ -225,9 +225,9 @@ bool CXFA_FFDocView::ResetSingleWidgetAccData(CXFA_WidgetAcc* pWidgetAcc) {
pWidgetAcc->ResetData();
pWidgetAcc->UpdateUIDisplay();
- if (CXFA_Validate validate = pWidgetAcc->GetValidate(false)) {
+ if (CXFA_ValidateData validateData = pWidgetAcc->GetValidateData(false)) {
AddValidateWidget(pWidgetAcc);
- validate.GetNode()->SetFlag(XFA_NodeFlag_NeedsInitApp, false);
+ validateData.GetNode()->SetFlag(XFA_NodeFlag_NeedsInitApp, false);
}
return true;
}