From baca77096e21acb07fa0b6e3a9ca7b926d18dcf1 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 21 Jul 2014 09:50:56 -0700 Subject: Fix remaining -Wdelete-non-virtual-dtor violations on Windows. Follow-up to https://codereview.chromium.org/370853002/ BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/406683005 --- core/src/fxge/win32/fx_win32_gdipext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/fxge/win32/fx_win32_gdipext.cpp') diff --git a/core/src/fxge/win32/fx_win32_gdipext.cpp b/core/src/fxge/win32/fx_win32_gdipext.cpp index 1aada3a1f3..82ff2be952 100644 --- a/core/src/fxge/win32/fx_win32_gdipext.cpp +++ b/core/src/fxge/win32/fx_win32_gdipext.cpp @@ -1003,7 +1003,7 @@ BOOL CGdiplusExt::DrawPath(HDC hDC, const CFX_PathData* pPathData, CallFunc(GdipDeleteGraphics)(pGraphics); return TRUE; } -class GpStream : public IStream, public CFX_Object +class GpStream FX_FINAL : public IStream, public CFX_Object { LONG m_RefCount; int m_ReadPos; -- cgit v1.2.3