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/src/fdp/include/fde_rdv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/src/fdp/include/fde_rdv.h') diff --git a/xfa/src/fdp/include/fde_rdv.h b/xfa/src/fdp/include/fde_rdv.h index 41e8d5c43d..4b02f22ba7 100644 --- a/xfa/src/fdp/include/fde_rdv.h +++ b/xfa/src/fdp/include/fde_rdv.h @@ -11,15 +11,17 @@ class IFDE_Brush; class IFDE_Image; class CFX_DIBitmap; class CFX_DIBSource; -class IFDE_RenderDevice; + typedef struct _FDE_HDEVICESTATE { void* pData; } * FDE_HDEVICESTATE; + class IFDE_RenderDevice { public: static IFDE_RenderDevice* Create(CFX_DIBitmap *pBitmap, FX_BOOL bRgbByteOrder = FALSE); static IFDE_RenderDevice* Create(CFX_RenderDevice *pDevice); + virtual ~IFDE_RenderDevice() {} virtual void Release() = 0; virtual int32_t GetWidth() const = 0; -- cgit v1.2.3