summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/basewidget/fwl_listbox.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-08 11:20:08 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-08 11:20:08 -0800
commit77221d4b4288ada80e34464ef4a402ea232b402b (patch)
tree41b1d1d1e46fd6afd4607ed0d3fa3e6d0102caa5 /xfa/include/fwl/basewidget/fwl_listbox.h
parent4a28a7376367165404eeabdfb4274d30c2d6c040 (diff)
downloadpdfium-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_listbox.h')
-rw-r--r--xfa/include/fwl/basewidget/fwl_listbox.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/include/fwl/basewidget/fwl_listbox.h b/xfa/include/fwl/basewidget/fwl_listbox.h
index 569e00ea0c..cc2fe91feb 100644
--- a/xfa/include/fwl/basewidget/fwl_listbox.h
+++ b/xfa/include/fwl/basewidget/fwl_listbox.h
@@ -109,7 +109,8 @@ class IFWL_ListBoxCompare {
};
class IFWL_ListBox : public IFWL_Widget {
public:
- static IFWL_ListBox* Create();
+ IFWL_ListBox();
+
FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
IFWL_Widget* pOuter);
int32_t CountSelItems();
@@ -119,8 +120,5 @@ class IFWL_ListBox : public IFWL_Widget {
FWL_ERR GetItemText(FWL_HLISTITEM hItem, CFX_WideString& wsText);
FWL_ERR GetScrollPos(FX_FLOAT& fPos, FX_BOOL bVert = TRUE);
FWL_ERR* Sort(IFWL_ListBoxCompare* pCom);
-
- protected:
- IFWL_ListBox();
};
#endif