diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-16 10:51:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-16 10:51:56 -0700 |
commit | 9d6ca99dbc864a26a13168d4cadbce22bbb55d9e (patch) | |
tree | 012712931c6a63e329f4138238e54f666e114c8c /xfa/fxfa/app/xfa_fftext.cpp | |
parent | 47bcd4c5c56cdc2d63a0c2ed4e7f68e6ccf523f6 (diff) | |
download | pdfium-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_fftext.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_fftext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_fftext.cpp b/xfa/fxfa/app/xfa_fftext.cpp index 1000b91c08..88cc6590e6 100644 --- a/xfa/fxfa/app/xfa_fftext.cpp +++ b/xfa/fxfa/app/xfa_fftext.cpp @@ -20,8 +20,7 @@ CXFA_FFText::CXFA_FFText(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc) CXFA_FFText::~CXFA_FFText() {} void CXFA_FFText::RenderWidget(CFX_Graphics* pGS, CFX_Matrix* pMatrix, - uint32_t dwStatus, - int32_t iRotate) { + uint32_t dwStatus) { if (!IsMatchVisibleStatus(dwStatus)) { return; } |