Index: third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
diff --git a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
index a43f8a6d427c2d7234d8799baf7ff599e1d4c34c..3ea4dee132f67aefccbc5ec78b714911370e1135 100644 |
--- a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
+++ b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
@@ -636,7 +636,7 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, |
const unsigned maximumSelectorQueryCacheSize = 256; |
if (m_entries.size() == maximumSelectorQueryCacheSize) |
- m_entries.remove(m_entries.begin()); |
+ m_entries.erase(m_entries.begin()); |
return m_entries |
.insert(selectors, SelectorQuery::adopt(std::move(selectorList))) |