summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/lightwidget
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/lightwidget
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/lightwidget')
-rw-r--r--xfa/include/fwl/lightwidget/widget.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/include/fwl/lightwidget/widget.h b/xfa/include/fwl/lightwidget/widget.h
index 97096a783c..e884db38ad 100644
--- a/xfa/include/fwl/lightwidget/widget.h
+++ b/xfa/include/fwl/lightwidget/widget.h
@@ -41,10 +41,8 @@ class CFWL_WidgetProperties {
class CFWL_Widget {
public:
+ virtual ~CFWL_Widget();
IFWL_Widget* GetWidget();
- FX_DWORD Release();
- CFWL_Widget* Retain();
- FX_DWORD GetRefCount() const;
FWL_ERR GetClassName(CFX_WideString& wsClass) const;
FX_DWORD GetClassID() const;
virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const;
@@ -85,7 +83,7 @@ class CFWL_Widget {
FWL_ERR SetFocus(FX_BOOL bFocus);
FWL_ERR SetGrab(FX_BOOL bSet);
CFWL_Widget();
- virtual ~CFWL_Widget();
+
void RegisterEventTarget(CFWL_Widget* pEventSource = NULL,
FX_DWORD dwFilter = FWL_EVENT_ALL_MASK);
void DispatchEvent(CFWL_Event* pEvent);