From d32fa8b75a3af1cddc4517a3085a43f7a3544c90 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 7 Nov 2017 20:10:51 +0000 Subject: 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 Commit-Queue: dsinclair --- xfa/fxfa/parser/cxfa_font.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xfa/fxfa/parser/cxfa_font.cpp') 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; } -- cgit v1.2.3