| 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 4cbd8c54d4e48bc4b2e8629edf5f810dd10e2487..0972d699e9cd42deaf38e1cec5f1e0faa32a14f5 100644
|
| --- a/third_party/WebKit/Source/core/css/FontFaceCache.cpp
|
| +++ b/third_party/WebKit/Source/core/css/FontFaceCache.cpp
|
| @@ -72,7 +72,7 @@ void FontFaceCache::addFontFace(CSSFontSelector* cssFontSelector,
|
| if (cssConnected)
|
| m_cssConnectedFontFaces.add(fontFace);
|
|
|
| - m_fonts.remove(fontFace->family());
|
| + m_fonts.erase(fontFace->family());
|
| incrementVersion();
|
| }
|
|
|
| @@ -103,7 +103,7 @@ void FontFaceCache::removeFontFace(FontFace* fontFace, bool cssConnected) {
|
| if (familyFontFaces->isEmpty())
|
| m_fontFaces.remove(fontFacesIter);
|
| }
|
| - m_fonts.remove(fontFace->family());
|
| + m_fonts.erase(fontFace->family());
|
| if (cssConnected)
|
| m_cssConnectedFontFaces.remove(fontFace);
|
|
|
|
|