diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-07 20:49:20 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-07 20:49:20 +0000 |
commit | 2a69b9ef97ddf46fe01de432bd0ccc1b7ce92bcb (patch) | |
tree | d0138d82b52cc63e0956a12faebf6433dd9303fd /xfa/fxfa/parser/cxfa_captiondata.cpp | |
parent | c5a729ec5ada8ef0edc3f4d9976e96865f516598 (diff) | |
download | pdfium-2a69b9ef97ddf46fe01de432bd0ccc1b7ce92bcb.tar.xz |
Rename CXFA_Margin to CXFA_MarginData
This CL renames CXFA_Margin to CXFA_MarginData to reflect the fact this
is part of the data hierarchy.
Change-Id: I50d82d01fcaf35c621f13b8b68bc04d850ec885a
Reviewed-on: https://pdfium-review.googlesource.com/17986
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_captiondata.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_captiondata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_captiondata.cpp b/xfa/fxfa/parser/cxfa_captiondata.cpp index 1f84959d05..dfaba57313 100644 --- a/xfa/fxfa/parser/cxfa_captiondata.cpp +++ b/xfa/fxfa/parser/cxfa_captiondata.cpp @@ -29,9 +29,9 @@ float CXFA_CaptionData::GetReserve() { return ms.ToUnit(XFA_UNIT_Pt); } -CXFA_Margin CXFA_CaptionData::GetMargin() { - return CXFA_Margin(m_pNode ? m_pNode->GetChild(0, XFA_Element::Margin, false) - : nullptr); +CXFA_MarginData CXFA_CaptionData::GetMarginData() { + return CXFA_MarginData( + m_pNode ? m_pNode->GetChild(0, XFA_Element::Margin, false) : nullptr); } CXFA_FontData CXFA_CaptionData::GetFontData() { |