Index: core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
index ec86a60d6fd93f8d54f11a885108ffb11fe328e9..962abd6fe6ae9e75b10a5ce0c1f62865bf9f79b1 100644 |
--- a/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
@@ -1706,7 +1706,7 @@ CPDF_Type3Char* CPDF_Type3Font::LoadChar(FX_DWORD charcode, int level) { |
ASSERT(!pdfium::ContainsKey(m_CacheMap, charcode)); |
CPDF_Type3Char* pCachedChar = pNewChar.release(); |
m_CacheMap[charcode] = pCachedChar; |
- if (pCachedChar->m_pForm->GetPageObjectList()->GetCount() == 0) { |
+ if (pCachedChar->m_pForm->GetPageObjectList()->empty()) { |
delete pCachedChar->m_pForm; |
pCachedChar->m_pForm = nullptr; |
} |