summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_fffield.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-04-20 16:11:14 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-20 20:29:07 +0000
commit88008a2be11ccbb5001dc540e96024a9641e4915 (patch)
tree41805821999d0d1dfba41e180967699865aa28e1 /xfa/fxfa/app/xfa_fffield.h
parent138cc10361b7dca0fa13efb59f24394797e41219 (diff)
downloadpdfium-88008a2be11ccbb5001dc540e96024a9641e4915.tar.xz
Cleanup some XFA widget code
This CL cleans up the nits in some of the XFA widget files. Change-Id: If72e7855a09a22b2ec8ad3ce297b142ce35f71c9 Reviewed-on: https://pdfium-review.googlesource.com/4395 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/app/xfa_fffield.h')
-rw-r--r--xfa/fxfa/app/xfa_fffield.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_fffield.h b/xfa/fxfa/app/xfa_fffield.h
index 902a84ba08..eb06caf34a 100644
--- a/xfa/fxfa/app/xfa_fffield.h
+++ b/xfa/fxfa/app/xfa_fffield.h
@@ -69,7 +69,7 @@ class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate {
CFWL_Widget* GetNormalWidget() { return m_pNormalWidget.get(); }
CFX_PointF FWLToClient(const CFX_PointF& point);
void LayoutCaption();
- void RenderCaption(CFX_Graphics* pGS, CFX_Matrix* pMatrix = nullptr);
+ void RenderCaption(CFX_Graphics* pGS, CFX_Matrix* pMatrix);
int32_t CalculateOverride();
int32_t CalculateWidgetAcc(CXFA_WidgetAcc* pAcc);
@@ -79,7 +79,7 @@ class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate {
void DrawHighlight(CFX_Graphics* pGS,
CFX_Matrix* pMatrix,
uint32_t dwStatus,
- bool bEllipse = false);
+ bool bEllipse);
void DrawFocus(CFX_Graphics* pGS, CFX_Matrix* pMatrix);
void TranslateFWLMessage(CFWL_Message* pMessage);
void CapPlacement();