From b415ffb47de6e58603db2a01027aa879c0126b24 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 7 Nov 2017 20:06:01 +0000 Subject: Rename CXFA_Edge to CXFA_EdgeData This CL renames CXFA_Edge to CXFA_EdgeData to make it clear it's part of the data hierarchy. Change-Id: Id67526cafe1927803c36159b106656c32e770d6b Reviewed-on: https://pdfium-review.googlesource.com/17979 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fwl/theme/cfwl_edittp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xfa/fwl/theme') diff --git a/xfa/fwl/theme/cfwl_edittp.cpp b/xfa/fwl/theme/cfwl_edittp.cpp index c01d5c9158..9b8497a41e 100644 --- a/xfa/fwl/theme/cfwl_edittp.cpp +++ b/xfa/fwl/theme/cfwl_edittp.cpp @@ -25,10 +25,10 @@ void CFWL_EditTP::DrawBackground(CFWL_ThemeBackground* pParams) { FX_ARGB cr = 0xFF000000; float fWidth = 1.0f; if (borderUIData) { - CXFA_Edge edge = borderUIData.GetEdge(0); - if (edge) { - cr = edge.GetColor(); - fWidth = edge.GetThickness(); + CXFA_EdgeData edgeData = borderUIData.GetEdgeData(0); + if (edgeData) { + cr = edgeData.GetColor(); + fWidth = edgeData.GetThickness(); } } pParams->m_pGraphics->SetStrokeColor(CXFA_Color(cr)); -- cgit v1.2.3