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_ffpath.h | |
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_ffpath.h')
-rw-r--r-- | xfa/fxfa/app/xfa_ffpath.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/xfa/fxfa/app/xfa_ffpath.h b/xfa/fxfa/app/xfa_ffpath.h index a56843dbdd..71c45e323e 100644 --- a/xfa/fxfa/app/xfa_ffpath.h +++ b/xfa/fxfa/app/xfa_ffpath.h @@ -16,9 +16,8 @@ class CXFA_FFLine : public CXFA_FFDraw { // CXFA_FFWidget void RenderWidget(CFX_Graphics* pGS, - CFX_Matrix* pMatrix = NULL, - uint32_t dwStatus = 0, - int32_t iRotate = 0) override; + CFX_Matrix* pMatrix, + uint32_t dwStatus) override; private: void GetRectFromHand(CFX_RectF& rect, int32_t iHand, FX_FLOAT fLineWidth); @@ -30,9 +29,8 @@ class CXFA_FFArc : public CXFA_FFDraw { // CXFA_FFWidget void RenderWidget(CFX_Graphics* pGS, - CFX_Matrix* pMatrix = NULL, - uint32_t dwStatus = 0, - int32_t iRotate = 0) override; + CFX_Matrix* pMatrix, + uint32_t dwStatus) override; }; class CXFA_FFRectangle : public CXFA_FFDraw { @@ -42,9 +40,8 @@ class CXFA_FFRectangle : public CXFA_FFDraw { // CXFA_FFWidget void RenderWidget(CFX_Graphics* pGS, - CFX_Matrix* pMatrix = NULL, - uint32_t dwStatus = 0, - int32_t iRotate = 0) override; + CFX_Matrix* pMatrix, + uint32_t dwStatus) override; }; #endif // XFA_FXFA_APP_XFA_FFPATH_H_ |