summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffcheckbutton.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-16 10:51:56 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-16 10:51:56 -0700
commit9d6ca99dbc864a26a13168d4cadbce22bbb55d9e (patch)
tree012712931c6a63e329f4138238e54f666e114c8c /xfa/fxfa/app/xfa_ffcheckbutton.cpp
parent47bcd4c5c56cdc2d63a0c2ed4e7f68e6ccf523f6 (diff)
downloadpdfium-9d6ca99dbc864a26a13168d4cadbce22bbb55d9e.tar.xz
Cleanup FWL RenderWidget method parameters.
This CL removes the default values from pMatrix and dwStatus as they are always set and removes the iRotate parameter as it is never set and never used. Review-Url: https://codereview.chromium.org/2071903002
Diffstat (limited to 'xfa/fxfa/app/xfa_ffcheckbutton.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffcheckbutton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffcheckbutton.cpp b/xfa/fxfa/app/xfa_ffcheckbutton.cpp
index 9e174a286e..a24971c9d4 100644
--- a/xfa/fxfa/app/xfa_ffcheckbutton.cpp
+++ b/xfa/fxfa/app/xfa_ffcheckbutton.cpp
@@ -211,8 +211,7 @@ void CXFA_FFCheckButton::AddUIMargin(int32_t iCapPlacement) {
}
void CXFA_FFCheckButton::RenderWidget(CFX_Graphics* pGS,
CFX_Matrix* pMatrix,
- uint32_t dwStatus,
- int32_t iRotate) {
+ uint32_t dwStatus) {
if (!IsMatchVisibleStatus(dwStatus)) {
return;
}