| Index: third_party/WebKit/Source/core/css/FontFaceCache.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/FontFaceCache.cpp b/third_party/WebKit/Source/core/css/FontFaceCache.cpp
|
| index fa50f82d150226f76d075216571fedee60567367..d9f1ce12e55d545516236ac776599c7338f86c5f 100644
|
| --- a/third_party/WebKit/Source/core/css/FontFaceCache.cpp
|
| +++ b/third_party/WebKit/Source/core/css/FontFaceCache.cpp
|
| @@ -80,7 +80,7 @@ void FontFaceCache::remove(const StyleRuleFontFace* fontFaceRule) {
|
| StyleRuleToFontFace::iterator it = m_styleRuleToFontFace.find(fontFaceRule);
|
| if (it != m_styleRuleToFontFace.end()) {
|
| removeFontFace(it->value.get(), true);
|
| - m_styleRuleToFontFace.remove(it);
|
| + m_styleRuleToFontFace.erase(it);
|
| }
|
| }
|
|
|
| @@ -99,9 +99,9 @@ void FontFaceCache::removeFontFace(FontFace* fontFace, bool cssConnected) {
|
|
|
| segmentedFontFace->removeFontFace(fontFace);
|
| if (segmentedFontFace->isEmpty()) {
|
| - familyFontFaces->remove(familyFontFacesIter);
|
| + familyFontFaces->erase(familyFontFacesIter);
|
| if (familyFontFaces->isEmpty())
|
| - m_fontFaces.remove(fontFacesIter);
|
| + m_fontFaces.erase(fontFacesIter);
|
| }
|
| m_fonts.erase(fontFace->family());
|
| if (cssConnected)
|
|
|