summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_box.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-03 16:39:18 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-03 22:11:40 +0000
commit45da0f2d84c97a9856492265a1fc706d04bdfccd (patch)
tree94f0e37415c91fdd7b91d22037e2d7a421e30986 /xfa/fxfa/parser/cxfa_box.cpp
parent8afa22d5701a6c47b3f34267a2c52948efc3d301 (diff)
downloadpdfium-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.cpp6
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() {