diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-03 16:53:33 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-04 14:47:31 +0000 |
commit | e83a915ebd3afaa897dbbf3e6cb3d2a2cb198595 (patch) | |
tree | b9c632251a7500be1e0acfe6d18ce35003ca2785 /xfa/fxfa/parser/cxfa_widgetdata.cpp | |
parent | 45da0f2d84c97a9856492265a1fc706d04bdfccd (diff) | |
download | pdfium-e83a915ebd3afaa897dbbf3e6cb3d2a2cb198595.tar.xz |
Fold CXFA_FontData into CXFA_Font
This CL removes the CXFA_FontData wrapper and puts the functionality
into CXFA_Font.
Change-Id: Id7e3a71106816a05843a62645f5955a70f7eaeaa
Reviewed-on: https://pdfium-review.googlesource.com/22113
Reviewed-by: Henrique Nakashima <hnakashima@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 9c08c1ac43..4a8817812f 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp @@ -272,9 +272,9 @@ CXFA_Caption* CXFA_WidgetData::GetCaption() { false); } -CXFA_FontData CXFA_WidgetData::GetFontData(bool bModified) { - return CXFA_FontData(m_pNode->JSObject()->GetProperty<CXFA_Font>( - 0, XFA_Element::Font, bModified)); +CXFA_Font* CXFA_WidgetData::GetFont(bool bModified) { + return m_pNode->JSObject()->GetProperty<CXFA_Font>(0, XFA_Element::Font, + bModified); } CXFA_Margin* CXFA_WidgetData::GetMargin() { |