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_adapterthreadmgr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/include/fwl/adapter/fwl_adapterthreadmgr.h') diff --git a/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h b/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h index f3e01855b0..ba2febfdb4 100644 --- a/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h +++ b/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h @@ -7,12 +7,13 @@ #ifndef _FWL_ADAPTER_THREAD_H #define _FWL_ADAPTER_THREAD_H class IFWL_Thread; -class IFWL_AdapterThreadMgr; class IFWL_AdapterMutex; class IFWL_AdapterSemaphore; + class IFWL_AdapterThreadMgr { public: + virtual ~IFWL_AdapterThreadMgr() {} virtual FWL_ERR Start(IFWL_Thread *pThread, FWL_HTHREAD &hThread, FX_BOOL bSuspended = FALSE) = 0; virtual FWL_ERR Resume(FWL_HTHREAD hThread) = 0; virtual FWL_ERR Suspend(FWL_HTHREAD hThread) = 0; @@ -23,6 +24,7 @@ public: class IFWL_AdapterSemaphore { public: + virtual ~IFWL_AdapterSemaphore() {} static IFWL_AdapterSemaphore * Create(); virtual FWL_ERR Destroy() = 0; virtual FWL_ERR Wait() const = 0; -- cgit v1.2.3