From 77221d4b4288ada80e34464ef4a402ea232b402b Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 8 Dec 2015 11:20:08 -0800 Subject: FWL refcounts never incremented (part 1) BUG=pdfium:282 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1509203002 . --- xfa/include/fwl/basewidget/fwl_spinbutton.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'xfa/include/fwl/basewidget/fwl_spinbutton.h') diff --git a/xfa/include/fwl/basewidget/fwl_spinbutton.h b/xfa/include/fwl/basewidget/fwl_spinbutton.h index 521cfca277..79e3f68b5b 100644 --- a/xfa/include/fwl/basewidget/fwl_spinbutton.h +++ b/xfa/include/fwl/basewidget/fwl_spinbutton.h @@ -27,16 +27,13 @@ class IFWL_SpinButton; BEGIN_FWL_EVENT_DEF(CFWL_EvtSpbClick, FWL_EVTHASH_SPB_Click) FX_BOOL m_bUp; END_FWL_EVENT_DEF + class IFWL_SpinButton : public IFWL_Widget { public: - static IFWL_SpinButton* Create(); - + IFWL_SpinButton(); FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); FWL_ERR EnableButton(FX_BOOL bEnable, FX_BOOL bUp = TRUE); FX_BOOL IsButtonEnable(FX_BOOL bUp = TRUE); - - protected: - IFWL_SpinButton(); }; #endif -- cgit v1.2.3