Chromium Code Reviews| Index: core/src/fxge/ge/fx_ge.cpp |
| diff --git a/core/src/fxge/ge/fx_ge.cpp b/core/src/fxge/ge/fx_ge.cpp |
| index 138f81840ea477a3f0896dab06d122bac18e78f5..f7787cf22cccdaf04f4cd5eed0276af140be928e 100644 |
| --- a/core/src/fxge/ge/fx_ge.cpp |
| +++ b/core/src/fxge/ge/fx_ge.cpp |
| @@ -41,7 +41,7 @@ void CFX_GEModule::Destroy() { |
| g_pGEModule = NULL; |
| } |
| CFX_FontCache* CFX_GEModule::GetFontCache() { |
| - if (m_pFontCache == NULL) { |
| + if (!m_pFontCache) { |
| m_pFontCache = new CFX_FontCache(); |
| } |
| return m_pFontCache; |