summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_font.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 20:10:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 20:10:51 +0000
commitd32fa8b75a3af1cddc4517a3085a43f7a3544c90 (patch)
tree43c5c228589d768e5b66f71e0991c075826c4e2f /xfa/fxfa/parser/cxfa_font.cpp
parentc8be4ce787252eaf3b03270bc99fe1e9e9044543 (diff)
downloadpdfium-d32fa8b75a3af1cddc4517a3085a43f7a3544c90.tar.xz
Rename CXFA_Fill to CXFA_FillData
This CL renames CXFA_Fill to CXFA_FillData to show it is part of the data hierarchy. Change-Id: I4f1f3e83621dee4f9ccddb3b3d04785d094315b8 Reviewed-on: https://pdfium-review.googlesource.com/17981 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_font.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_font.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_font.cpp b/xfa/fxfa/parser/cxfa_font.cpp
index ab0825fbe6..9de43535b5 100644
--- a/xfa/fxfa/parser/cxfa_font.cpp
+++ b/xfa/fxfa/parser/cxfa_font.cpp
@@ -7,7 +7,7 @@
#include "xfa/fxfa/parser/cxfa_font.h"
#include "core/fxge/fx_dib.h"
-#include "xfa/fxfa/parser/cxfa_fill.h"
+#include "xfa/fxfa/parser/cxfa_filldata.h"
#include "xfa/fxfa/parser/cxfa_measurement.h"
#include "xfa/fxfa/parser/cxfa_node.h"
@@ -85,11 +85,11 @@ bool CXFA_Font::IsItalic() {
}
void CXFA_Font::SetColor(FX_ARGB color) {
- CXFA_Fill fill(m_pNode->JSNode()->GetProperty(0, XFA_Element::Fill, true));
- fill.SetColor(color);
+ CXFA_FillData(m_pNode->JSNode()->GetProperty(0, XFA_Element::Fill, true))
+ .SetColor(color);
}
FX_ARGB CXFA_Font::GetColor() {
- CXFA_Fill fill(m_pNode->GetChild(0, XFA_Element::Fill, false));
- return fill ? fill.GetColor(true) : 0xFF000000;
+ CXFA_FillData fillData(m_pNode->GetChild(0, XFA_Element::Fill, false));
+ return fillData ? fillData.GetColor(true) : 0xFF000000;
}