diff options
Diffstat (limited to 'core/src/fxge/android/fpf_skiamodule.cpp')
-rw-r--r-- | core/src/fxge/android/fpf_skiamodule.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/src/fxge/android/fpf_skiamodule.cpp b/core/src/fxge/android/fpf_skiamodule.cpp index 37bfd9cabb..296073c4e2 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() { |