diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-12-08 11:20:08 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-12-08 11:20:08 -0800 |
commit | 77221d4b4288ada80e34464ef4a402ea232b402b (patch) | |
tree | 41b1d1d1e46fd6afd4607ed0d3fa3e6d0102caa5 /xfa/include/fwl/basewidget/fwl_edit.h | |
parent | 4a28a7376367165404eeabdfb4274d30c2d6c040 (diff) | |
download | pdfium-77221d4b4288ada80e34464ef4a402ea232b402b.tar.xz |
FWL refcounts never incremented (part 1)
BUG=pdfium:282
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1509203002 .
Diffstat (limited to 'xfa/include/fwl/basewidget/fwl_edit.h')
-rw-r--r-- | xfa/include/fwl/basewidget/fwl_edit.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/include/fwl/basewidget/fwl_edit.h b/xfa/include/fwl/basewidget/fwl_edit.h index c804af7ae1..207e6ef614 100644 --- a/xfa/include/fwl/basewidget/fwl_edit.h +++ b/xfa/include/fwl/basewidget/fwl_edit.h @@ -112,7 +112,8 @@ class IFWL_EditDP : public IFWL_DataProvider {}; typedef struct _FWL_HEDTFIND { void* pData; } * FWL_HEDTFIND;
class IFWL_Edit : public IFWL_Widget {
public:
- static IFWL_Edit* Create();
+ IFWL_Edit();
+
FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
IFWL_Widget* pOuter);
FWL_ERR SetText(const CFX_WideString& wsText);
@@ -158,8 +159,5 @@ class IFWL_Edit : public IFWL_Widget { FX_BOOL GetSuggestWords(CFX_PointF pointf, CFX_ByteStringArray& sSuggest);
FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf,
const CFX_ByteStringC& bsReplace);
-
- protected:
- IFWL_Edit();
};
#endif
|