summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidgethandler.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_ffwidgethandler.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_ffwidgethandler.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffwidgethandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffwidgethandler.cpp b/xfa/fxfa/cxfa_ffwidgethandler.cpp
index 9ab19623c2..4a2bf08222 100644
--- a/xfa/fxfa/cxfa_ffwidgethandler.cpp
+++ b/xfa/fxfa/cxfa_ffwidgethandler.cpp
@@ -193,8 +193,8 @@ bool CXFA_FFWidgetHandler::HasEvent(CXFA_WidgetAcc* pWidgetAcc,
return calcData && calcData.GetScriptData();
}
case XFA_EVENT_Validate: {
- CXFA_Validate val = pWidgetAcc->GetValidate(false);
- return val && val.GetScriptData();
+ CXFA_ValidateData validateData = pWidgetAcc->GetValidateData(false);
+ return validateData && validateData.GetScriptData();
}
default:
break;