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/core/fwl_form.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'xfa/include/fwl/core/fwl_form.h') diff --git a/xfa/include/fwl/core/fwl_form.h b/xfa/include/fwl/core/fwl_form.h index 6d76c614d0..439d1cb554 100644 --- a/xfa/include/fwl/core/fwl_form.h +++ b/xfa/include/fwl/core/fwl_form.h @@ -65,7 +65,7 @@ enum FWL_COMMANDID { }; class IFWL_Form : public IFWL_Panel { public: - static IFWL_Form* Create(); + IFWL_Form(); FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, CFX_WideString* classname, IFWL_Widget* pOuter); @@ -75,8 +75,5 @@ class IFWL_Form : public IFWL_Panel { IFWL_Widget* DoModal(FX_DWORD& dwCommandID); FWL_ERR EndDoModal(); FWL_ERR SetBorderRegion(CFX_Path* pPath); - - protected: - IFWL_Form(); }; #endif -- cgit v1.2.3