summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffpushbutton.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 18:40:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 18:40:35 +0000
commit50132e522702dd016b83ed12e91d065357fe0b59 (patch)
treec766cd59b00885c8dd38b1e0ff2ba9e9ebde5c85 /xfa/fxfa/cxfa_ffpushbutton.cpp
parente0d68541163e34cc61fcb7e7cb9f5a9887f45245 (diff)
downloadpdfium-50132e522702dd016b83ed12e91d065357fe0b59.tar.xz
Rename CXFA_Border to CXFA_BorderData
This CL renames CXFA_Border to CXFA_BorderData to make it clear it's part of the Data hierarchy. Change-Id: Icfe8dc07d527ba54413f073f5a444fb7b2a71271 Reviewed-on: https://pdfium-review.googlesource.com/17974 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffpushbutton.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffpushbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffpushbutton.cpp b/xfa/fxfa/cxfa_ffpushbutton.cpp
index 2f2c133ede..7c532fc01f 100644
--- a/xfa/fxfa/cxfa_ffpushbutton.cpp
+++ b/xfa/fxfa/cxfa_ffpushbutton.cpp
@@ -113,9 +113,9 @@ bool CXFA_FFPushButton::PerformLayout() {
return true;
}
float CXFA_FFPushButton::GetLineWidth() {
- CXFA_Border border = m_pDataAcc->GetBorder(false);
- if (border && border.GetPresence() == XFA_ATTRIBUTEENUM_Visible) {
- CXFA_Edge edge = border.GetEdge(0);
+ CXFA_BorderData borderData = m_pDataAcc->GetBorderData(false);
+ if (borderData && borderData.GetPresence() == XFA_ATTRIBUTEENUM_Visible) {
+ CXFA_Edge edge = borderData.GetEdge(0);
return edge.GetThickness();
}
return 0;