Index: xfa/fde/css/fde_cssstylesheet.cpp |
diff --git a/xfa/fde/css/fde_cssstylesheet.cpp b/xfa/fde/css/fde_cssstylesheet.cpp |
index b07031c3549cebb7a32b4a4daeed65414dce8509..dcfd302a581610ea22cbb15697343a48f557fe59 100644 |
--- a/xfa/fde/css/fde_cssstylesheet.cpp |
+++ b/xfa/fde/css/fde_cssstylesheet.cpp |
@@ -102,7 +102,7 @@ void CFDE_CSSStyleSheet::Reset() { |
} |
m_RuleArray.RemoveAll(); |
m_Selectors.RemoveAll(); |
- m_StringCache.RemoveAll(); |
+ m_StringCache.clear(); |
delete m_pAllocator; |
m_pAllocator = nullptr; |
} |
@@ -175,7 +175,7 @@ FX_BOOL CFDE_CSSStyleSheet::LoadFromSyntax(CFDE_CSSSyntaxParser* pSyntax) { |
} |
} while (eStatus >= FDE_CSSSYNTAXSTATUS_None); |
m_Selectors.RemoveAll(); |
- m_StringCache.RemoveAll(); |
+ m_StringCache.clear(); |
return eStatus != FDE_CSSSYNTAXSTATUS_Error; |
} |
FDE_CSSSYNTAXSTATUS CFDE_CSSStyleSheet::LoadMediaRule( |