diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-03 16:39:18 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-03 22:11:40 +0000 |
commit | 45da0f2d84c97a9856492265a1fc706d04bdfccd (patch) | |
tree | 94f0e37415c91fdd7b91d22037e2d7a421e30986 /xfa/fxfa/parser/cxfa_box.cpp | |
parent | 8afa22d5701a6c47b3f34267a2c52948efc3d301 (diff) | |
download | pdfium-45da0f2d84c97a9856492265a1fc706d04bdfccd.tar.xz |
Fold CXFA_FillData into CXFA_Fill
This CL removes the CXFA_FillData wrapper and puts the code directly in
CXFA_Fill.
Change-Id: I44ae8b53978b659480a4bb32719d086c7b91b49b
Reviewed-on: https://pdfium-review.googlesource.com/22210
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_box.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_box.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_box.cpp b/xfa/fxfa/parser/cxfa_box.cpp index 78362020da..ccb4e713ff 100644 --- a/xfa/fxfa/parser/cxfa_box.cpp +++ b/xfa/fxfa/parser/cxfa_box.cpp @@ -102,10 +102,8 @@ pdfium::Optional<int32_t> CXFA_Box::GetSweepAngle() { return JSObject()->TryInteger(XFA_Attribute::SweepAngle, false); } -CXFA_FillData CXFA_Box::GetFillData(bool bModified) { - CXFA_Node* pFillNode = - JSObject()->GetProperty<CXFA_Fill>(0, XFA_Element::Fill, bModified); - return CXFA_FillData(pFillNode); +CXFA_Fill* CXFA_Box::GetFill(bool bModified) { + return JSObject()->GetProperty<CXFA_Fill>(0, XFA_Element::Fill, bModified); } CXFA_Margin* CXFA_Box::GetMargin() { |