summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffrectangle.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 21:14:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 21:14:50 +0000
commit2166e986c2aa0e73ae4f2f5af149fa234574094f (patch)
tree9778cd19d0a88f08874f1553c238aa7de9ce30d9 /xfa/fxfa/cxfa_ffrectangle.cpp
parent5fe712cb6c605e597f65f6b4cd0afa3213234639 (diff)
downloadpdfium-2166e986c2aa0e73ae4f2f5af149fa234574094f.tar.xz
Rename CXFA_Rectangle to CXFA_RectangleData
This CL renames CXFA_Rectangle to CXFA_RectangleData to signify it is part of the data hierarchy. Change-Id: Ie563b4304cb595d4b3bb0ffc5303549f1fb37b18 Reviewed-on: https://pdfium-review.googlesource.com/18011 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffrectangle.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffrectangle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffrectangle.cpp b/xfa/fxfa/cxfa_ffrectangle.cpp
index 7c6035cd07..5305d17950 100644
--- a/xfa/fxfa/cxfa_ffrectangle.cpp
+++ b/xfa/fxfa/cxfa_ffrectangle.cpp
@@ -21,7 +21,6 @@ void CXFA_FFRectangle::RenderWidget(CXFA_Graphics* pGS,
if (!value)
return;
- CXFA_Rectangle rtObj = value.GetRectangle();
CFX_RectF rect = GetRectWithoutRotate();
if (CXFA_MarginData marginData = m_pDataAcc->GetMarginData())
XFA_RectWidthoutMargin(rect, marginData);
@@ -29,5 +28,5 @@ void CXFA_FFRectangle::RenderWidget(CXFA_Graphics* pGS,
CFX_Matrix mtRotate = GetRotateMatrix();
mtRotate.Concat(matrix);
- DrawBorder(pGS, rtObj, rect, mtRotate);
+ DrawBorder(pGS, value.GetRectangleData(), rect, mtRotate);
}