summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-11 14:19:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-11 14:19:51 +0000
commit8b68d30fdc8ae33a8a5c2d647bd7a67f1271ff90 (patch)
treeaf41a878d0e7a662655391f4a235af17aeee6460 /xfa/fxfa/parser/cxfa_node.h
parent89fa5dfee5107736597682f174fdc95d0baec830 (diff)
downloadpdfium-8b68d30fdc8ae33a8a5c2d647bd7a67f1271ff90.tar.xz
Rename Getvalidate and GetOrCreateValidate
This CL renames the validation methods to make it clear they can return nullptr. Change-Id: I60d0c41cdfe9902049d99cd790f851517b11a6d9 Reviewed-on: https://pdfium-review.googlesource.com/22682 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.h')
-rw-r--r--xfa/fxfa/parser/cxfa_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h
index cafe6676fd..543d895aeb 100644
--- a/xfa/fxfa/parser/cxfa_node.h
+++ b/xfa/fxfa/parser/cxfa_node.h
@@ -249,8 +249,8 @@ class CXFA_Node : public CXFA_Object {
CXFA_Margin* GetMarginIfExists() const;
CXFA_Para* GetParaIfExists() const;
CXFA_Calculate* GetCalculateIfExists() const;
- CXFA_Validate* GetValidate() const;
- CXFA_Validate* GetOrCreateValidate();
+ CXFA_Validate* GetValidateIfExists() const;
+ CXFA_Validate* GetOrCreateValidateIfPossible();
CXFA_Value* GetDefaultValue();
CXFA_Value* GetFormValue() const;