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/fee/include/fx_wordbreak.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xfa/src/fee/include/fx_wordbreak.h') diff --git a/xfa/src/fee/include/fx_wordbreak.h b/xfa/src/fee/include/fx_wordbreak.h index 275930a8b7..5dc0b1b73b 100644 --- a/xfa/src/fee/include/fx_wordbreak.h +++ b/xfa/src/fee/include/fx_wordbreak.h @@ -7,9 +7,11 @@ #ifndef _FX_WORDBREAK_H #define _FX_WORDBREAK_H class IFX_CharIter; + class IFX_WordBreak { public: + virtual ~IFX_WordBreak() {} virtual void Release() = 0; virtual void Attach(IFX_CharIter * pIter) = 0; virtual void Attach(const CFX_WideString & wsText) = 0; -- cgit v1.2.3