| Index: core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp | 
| diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp | 
| index 89ac8ac1438e3e9ef403dc31d9bdbbcc6e165b66..c8d86e072d4d4ef729f5d73b6d384be77c3c7152 100644 | 
| --- a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp | 
| +++ b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp | 
| @@ -128,10 +128,10 @@ CFX_GlyphBitmap* CPDF_Type3Cache::RenderGlyph(CPDF_Type3Glyphs* pSize, | 
| const CFX_AffineMatrix* pMatrix, | 
| FX_FLOAT retinaScaleX, | 
| FX_FLOAT retinaScaleY) { | 
| -  CPDF_Type3Char* pChar = m_pFont->LoadChar(charcode); | 
| -  if (pChar == NULL || pChar->m_pBitmap == NULL) { | 
| -    return NULL; | 
| -  } | 
| +  const CPDF_Type3Char* pChar = m_pFont->LoadChar(charcode); | 
| +  if (!pChar || !pChar->m_pBitmap) | 
| +    return nullptr; | 
| + | 
| CFX_DIBitmap* pBitmap = pChar->m_pBitmap; | 
| CFX_AffineMatrix image_matrix, text_matrix; | 
| image_matrix = pChar->m_ImageMatrix; | 
|  |