| Index: Source/core/dom/SelectorQuery.cpp
|
| diff --git a/Source/core/dom/SelectorQuery.cpp b/Source/core/dom/SelectorQuery.cpp
|
| index dd0440210c96f53dea60270f778f0b4469d59efc..d51245afbfb9eadb175bde185f6b48b579c60ec5 100644
|
| --- a/Source/core/dom/SelectorQuery.cpp
|
| +++ b/Source/core/dom/SelectorQuery.cpp
|
| @@ -233,7 +233,7 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, Document*
|
| const int maximumSelectorQueryCacheSize = 256;
|
| if (m_entries.size() == maximumSelectorQueryCacheSize)
|
| m_entries.remove(m_entries.begin());
|
| -
|
| +
|
| OwnPtr<SelectorQuery> selectorQuery = adoptPtr(new SelectorQuery(selectorList));
|
| SelectorQuery* rawSelectorQuery = selectorQuery.get();
|
| m_entries.add(selectors, selectorQuery.release());
|
|
|