Index: core/src/fxge/android/fpf_skiamodule.cpp |
diff --git a/core/src/fxge/android/fpf_skiamodule.cpp b/core/src/fxge/android/fpf_skiamodule.cpp |
index 37bfd9cabbffa67d03371f7ef631913e7bd94abd..296073c4e23d3f90859f5fb59c98cca798fddc8a 100644 |
--- a/core/src/fxge/android/fpf_skiamodule.cpp |
+++ b/core/src/fxge/android/fpf_skiamodule.cpp |
@@ -22,10 +22,8 @@ CFPF_SkiaDeviceModule::~CFPF_SkiaDeviceModule() |
} |
void CFPF_SkiaDeviceModule::Destroy() |
{ |
- if (gs_pPFModule) { |
- delete (CFPF_SkiaDeviceModule*)gs_pPFModule; |
- gs_pPFModule = NULL; |
- } |
+ delete (CFPF_SkiaDeviceModule*)gs_pPFModule; |
+ gs_pPFModule = NULL; |
} |
IFPF_FontMgr* CFPF_SkiaDeviceModule::GetFontMgr() |
{ |