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_adaptertimermgr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/include/fwl/adapter/fwl_adaptertimermgr.h') diff --git a/xfa/include/fwl/adapter/fwl_adaptertimermgr.h b/xfa/include/fwl/adapter/fwl_adaptertimermgr.h index 4c7f7e76dc..f3dce811fa 100644 --- a/xfa/include/fwl/adapter/fwl_adaptertimermgr.h +++ b/xfa/include/fwl/adapter/fwl_adaptertimermgr.h @@ -6,11 +6,13 @@ #ifndef _FWL_ADAPTER_TIMERMGR_H #define _FWL_ADAPTER_TIMERMGR_H + class IFWL_Timer; -class IFWL_AdapterTimerMgr; + class IFWL_AdapterTimerMgr { public: + virtual ~IFWL_AdapterTimerMgr() {} virtual FWL_ERR Start(IFWL_Timer *pTimer, FX_DWORD dwElapse, FWL_HTIMER &hTimer, FX_BOOL bImmediately = TRUE) = 0; virtual FWL_ERR Stop(FWL_HTIMER hTimer) = 0; }; -- cgit v1.2.3