From 568aff520b4ca33d851317a4ea88807b4fd2da40 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 19 Jun 2015 14:58:28 -0700 Subject: Fix -Wnon-virtual-dtor warnings on the XFA branch. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1183483003. --- xfa/include/fwl/basewidget/fwl_listbox.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xfa/include/fwl/basewidget/fwl_listbox.h') diff --git a/xfa/include/fwl/basewidget/fwl_listbox.h b/xfa/include/fwl/basewidget/fwl_listbox.h index 3d0fa116ce..4ab4e46c10 100644 --- a/xfa/include/fwl/basewidget/fwl_listbox.h +++ b/xfa/include/fwl/basewidget/fwl_listbox.h @@ -88,6 +88,7 @@ public: class IFWL_ListBoxCompare { public: + virtual ~IFWL_ListBoxCompare() {} virtual int32_t Compare(FWL_HLISTITEM hLeft, FWL_HLISTITEM hRight) = 0; }; class IFWL_ListBox : public IFWL_Widget -- cgit v1.2.3