Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
index 4e4b03d57b76e2eaa37d547fa080893c4da341d3..90420a261a25108fbf13b1650859ff63d6f12aca 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
@@ -534,7 +534,7 @@ void CanvasRenderingContext2D::pruneLocalFontCache(size_t targetSize) { |
return; |
} |
while (m_fontLRUList.size() > targetSize) { |
- m_fontsResolvedUsingCurrentStyle.remove(m_fontLRUList.first()); |
+ m_fontsResolvedUsingCurrentStyle.erase(m_fontLRUList.first()); |
m_fontLRUList.removeFirst(); |
} |
} |