diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-03 12:15:53 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-03 18:22:31 +0000 |
commit | fa50df5605a14ca4c9ba440506685981f1c8b04b (patch) | |
tree | 993f3af23213e8c86c62314b502f6144ce13688b /xfa/fxfa/parser/cxfa_widgetdata.cpp | |
parent | 39628b04bc86461426f2dcf5a568f5e9e70ad997 (diff) | |
download | pdfium-fa50df5605a14ca4c9ba440506685981f1c8b04b.tar.xz |
Fold CXFA_CaptionData into CXFA_Caption
This CL folds the CXFA_CaptionData wrapper class into CXFA_Caption.
Change-Id: I65302656a89985dec4d0ec1f42b5eaa95d22aae2
Reviewed-on: https://pdfium-review.googlesource.com/22150
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp index 8fef4b4418..1351c77be2 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp @@ -265,9 +265,9 @@ CXFA_Border* CXFA_WidgetData::GetBorder(bool bModified) { bModified); } -CXFA_CaptionData CXFA_WidgetData::GetCaptionData() { - return CXFA_CaptionData(m_pNode->JSObject()->GetProperty<CXFA_Caption>( - 0, XFA_Element::Caption, false)); +CXFA_Caption* CXFA_WidgetData::GetCaption() { + return m_pNode->JSObject()->GetProperty<CXFA_Caption>(0, XFA_Element::Caption, + false); } CXFA_FontData CXFA_WidgetData::GetFontData(bool bModified) { |