summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-10 19:44:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-10 19:44:26 +0000
commit78d841011655b868486a45e0fe865a972742aa0c (patch)
treee2bb52e930000b90d77aaf82af8903d106d63d58 /xfa/fxfa/parser/cxfa_node.h
parentccd7899b2d662c0a1be6cd52c6b6068472c27375 (diff)
downloadpdfium-78d841011655b868486a45e0fe865a972742aa0c.tar.xz
Rename GetMargin to GetMarginIfExists
This CL makes it explicit that GetMargin may return a nullptr. Change-Id: I46780e8df9e966accc38baf56f8aa5149533db87 Reviewed-on: https://pdfium-review.googlesource.com/22675 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h
index 69cd12c86b..1972da9183 100644
--- a/xfa/fxfa/parser/cxfa_node.h
+++ b/xfa/fxfa/parser/cxfa_node.h
@@ -246,7 +246,7 @@ class CXFA_Node : public CXFA_Object {
FX_ARGB GetTextColor() const;
float GetLineHeight() const;
- CXFA_Margin* GetMargin() const;
+ CXFA_Margin* GetMarginIfExists() const;
CXFA_Para* GetPara() const;
CXFA_Calculate* GetCalculate() const;
CXFA_Validate* GetValidate() const;