UBSan misses typeinfo for CBmpContext

...after e3f3b3b75d "pdfium: update to 3151"

Change-Id: Ie8646b4f1a132e8be6da10e9919e17865bc3e571
This commit is contained in:
Stephan Bergmann
2017-07-14 09:54:44 +02:00
parent 7892b4191b
commit e47fda7d47

View File

@@ -1,3 +1,14 @@
--- core/fxcodec/lbmp/fx_bmp.h
+++ core/fxcodec/lbmp/fx_bmp.h
@@ -132,7 +132,7 @@
class CBmpContext : public CCodec_BmpModule::Context {
public:
CBmpContext(CCodec_BmpModule* pModule, CCodec_BmpModule::Delegate* pDelegate);
- ~CBmpContext() override;
+ ~CBmpContext() override {}
BMPDecompressor m_Bmp;
CFX_UnownedPtr<CCodec_BmpModule> const m_pModule;
--- core/fxge/ge/cfx_facecache.cpp
+++ core/fxge/ge/cfx_facecache.cpp
@@ -206,7 +206,8 @@ CFX_GlyphBitmap* CFX_FaceCache::RenderGlyph(const CFX_Font* pFont,