| 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 fdbe3523554e87835fb5cfb4141fd75a3b25cc41..a2d571bc557b0dee8b2c84670245f481c609ec6c 100644
|
| --- a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| @@ -639,7 +639,8 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors,
|
| if (m_entries.size() == maximumSelectorQueryCacheSize)
|
| m_entries.remove(m_entries.begin());
|
|
|
| - return m_entries.add(selectors, SelectorQuery::adopt(std::move(selectorList)))
|
| + return m_entries
|
| + .insert(selectors, SelectorQuery::adopt(std::move(selectorList)))
|
| .storedValue->value.get();
|
| }
|
|
|
|
|