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 52b79b0c1ab5e0dcd392d4a2399213dbe5422d07..540f9a073193d950ebf5193b8eb8f16c27b8efc5 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; |
} |