summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_edittp.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 20:06:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 20:06:01 +0000
commitb415ffb47de6e58603db2a01027aa879c0126b24 (patch)
tree48117c166ada6f156d501de7da71d191fdce271a /xfa/fwl/theme/cfwl_edittp.cpp
parentc0c3b8cb21296f182da3be97acf175346bc06004 (diff)
downloadpdfium-b415ffb47de6e58603db2a01027aa879c0126b24.tar.xz
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 <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/theme/cfwl_edittp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_edittp.cpp8
1 files changed, 4 insertions, 4 deletions
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));