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/include | |
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/include')
-rw-r--r-- | xfa/fxfa/include/xfa_ffwidget.h | 5 | ||||
-rw-r--r-- | xfa/fxfa/include/xfa_ffwidgethandler.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/xfa/fxfa/include/xfa_ffwidget.h b/xfa/fxfa/include/xfa_ffwidget.h index 2dc3b947d4..4512cdf5a2 100644 --- a/xfa/fxfa/include/xfa_ffwidget.h +++ b/xfa/fxfa/include/xfa_ffwidget.h @@ -49,9 +49,8 @@ class CXFA_FFWidget : public CXFA_ContentLayoutItem { uint32_t dwStatus, FX_BOOL bDrawFocus = FALSE); virtual void RenderWidget(CFX_Graphics* pGS, - CFX_Matrix* pMatrix = NULL, - uint32_t dwStatus = 0, - int32_t iRotate = 0); + CFX_Matrix* pMatrix, + uint32_t dwStatus); virtual FX_BOOL IsLoaded(); virtual FX_BOOL LoadWidget(); virtual void UnloadWidget(); diff --git a/xfa/fxfa/include/xfa_ffwidgethandler.h b/xfa/fxfa/include/xfa_ffwidgethandler.h index 4a6687e8c7..cc6d048619 100644 --- a/xfa/fxfa/include/xfa_ffwidgethandler.h +++ b/xfa/fxfa/include/xfa_ffwidgethandler.h @@ -70,8 +70,8 @@ class CXFA_FFWidgetHandler { FX_BOOL OnSetCursor(CXFA_FFWidget* hWidget, FX_FLOAT fx, FX_FLOAT fy); void RenderWidget(CXFA_FFWidget* hWidget, CFX_Graphics* pGS, - CFX_Matrix* pMatrix = NULL, - FX_BOOL bHighlight = FALSE); + CFX_Matrix* pMatrix, + FX_BOOL bHighlight); FX_BOOL HasEvent(CXFA_WidgetAcc* pWidgetAcc, XFA_EVENTTYPE eEventType); int32_t ProcessEvent(CXFA_WidgetAcc* pWidgetAcc, CXFA_EventParam* pParam); |