Index: core/src/fxge/skia/fx_skia_device.cpp |
diff --git a/core/src/fxge/skia/fx_skia_device.cpp b/core/src/fxge/skia/fx_skia_device.cpp |
index 381242686a238259f11e55c24d6a96870f783154..41ce0779764425e6186735f68558c26461a2c6ac 100644 |
--- a/core/src/fxge/skia/fx_skia_device.cpp |
+++ b/core/src/fxge/skia/fx_skia_device.cpp |
@@ -241,7 +241,7 @@ CFX_SkiaDeviceDriver::CFX_SkiaDeviceDriver(CFX_DIBitmap* pBitmap, int dither_bit |
} |
CFX_SkiaDeviceDriver::~CFX_SkiaDeviceDriver() |
{ |
- if (m_pAggDriver) delete m_pAggDriver; |
+ delete m_pAggDriver; |
} |
FX_BOOL CFX_SkiaDeviceDriver::DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, |
CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FIXFLOAT font_size, FX_DWORD color, |