From 9d6ca99dbc864a26a13168d4cadbce22bbb55d9e Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 16 Jun 2016 10:51:56 -0700 Subject: 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 --- xfa/fxfa/app/xfa_ffcheckbutton.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xfa/fxfa/app/xfa_ffcheckbutton.cpp') 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; } -- cgit v1.2.3