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_checkbox.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'xfa/include/fwl/basewidget/fwl_checkbox.h') diff --git a/xfa/include/fwl/basewidget/fwl_checkbox.h b/xfa/include/fwl/basewidget/fwl_checkbox.h index 989430acc1..3e08a63972 100644 --- a/xfa/include/fwl/basewidget/fwl_checkbox.h +++ b/xfa/include/fwl/basewidget/fwl_checkbox.h @@ -70,24 +70,19 @@ class IFWL_CheckBoxDP : public IFWL_DataProvider { }; class IFWL_CheckBox : public IFWL_Widget { public: - static IFWL_CheckBox* Create(); + IFWL_CheckBox(); FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); int32_t GetCheckState(); FWL_ERR SetCheckState(int32_t iCheck); - protected: - IFWL_CheckBox(); }; class IFWL_RadioButton : public IFWL_Widget { public: - static IFWL_RadioButton* Create(); + IFWL_RadioButton(); FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); int32_t GetCheckState(); FWL_ERR SetCheckState(int32_t iCheck); - - protected: - IFWL_RadioButton(); }; #endif -- cgit v1.2.3