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/adapter/fwl_adapternative.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xfa/include/fwl/adapter/fwl_adapternative.h') diff --git a/xfa/include/fwl/adapter/fwl_adapternative.h b/xfa/include/fwl/adapter/fwl_adapternative.h index 55532945f9..cc348bf833 100644 --- a/xfa/include/fwl/adapter/fwl_adapternative.h +++ b/xfa/include/fwl/adapter/fwl_adapternative.h @@ -13,10 +13,11 @@ class IFWL_AdapterTimerMgr; class IFWL_AdapterCursorMgr; class IFWL_AdapterMonitorMgr; class IFWL_AdapterClipboardMgr; -class IFWL_AdapterNative; + class IFWL_AdapterNative { public: + virtual ~IFWL_AdapterNative() {} virtual IFWL_AdapterWidgetMgr* GetWidgetMgr(IFWL_WidgetMgrDelegate *pDelegate) = 0; virtual IFWL_AdapterThreadMgr* GetThreadMgr() = 0; virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; -- cgit v1.2.3