| Index: Source/core/dom/SelectorQuery.cpp
|
| diff --git a/Source/core/dom/SelectorQuery.cpp b/Source/core/dom/SelectorQuery.cpp
|
| index 65bf620aaac820f602f9ef7dbb3b1a292be98cc4..8e3ab24e3fb8dff3126e6e49d575e0843a4bc724 100644
|
| --- a/Source/core/dom/SelectorQuery.cpp
|
| +++ b/Source/core/dom/SelectorQuery.cpp
|
| @@ -51,7 +51,7 @@ struct SingleElementSelectorQueryTrait {
|
| };
|
|
|
| struct AllElementsSelectorQueryTrait {
|
| - typedef WillBeHeapVector<RefPtrWillBeMember<Element> > OutputType;
|
| + typedef WillBeHeapVector<RefPtrWillBeMember<Element>> OutputType;
|
| static const bool shouldOnlyMatchFirstElement = false;
|
| ALWAYS_INLINE static void appendElement(OutputType& output, Element& element)
|
| {
|
| @@ -150,7 +150,7 @@ Element* SelectorDataList::closest(Element& targetElement) const
|
|
|
| PassRefPtrWillBeRawPtr<StaticElementList> SelectorDataList::queryAll(ContainerNode& rootNode) const
|
| {
|
| - WillBeHeapVector<RefPtrWillBeMember<Element> > result;
|
| + WillBeHeapVector<RefPtrWillBeMember<Element>> result;
|
| execute<AllElementsSelectorQueryTrait>(rootNode, result);
|
| return StaticElementList::adopt(result);
|
| }
|
| @@ -438,7 +438,7 @@ void SelectorDataList::execute(ContainerNode& rootNode, typename SelectorQueryTr
|
| if (const CSSSelector* idSelector = selectorForIdLookup(firstSelector)) {
|
| const AtomicString& idToMatch = idSelector->value();
|
| if (rootNode.treeScope().containsMultipleElementsWithId(idToMatch)) {
|
| - const WillBeHeapVector<RawPtrWillBeMember<Element> >& elements = rootNode.treeScope().getAllElementsById(idToMatch);
|
| + const WillBeHeapVector<RawPtrWillBeMember<Element>>& elements = rootNode.treeScope().getAllElementsById(idToMatch);
|
| size_t count = elements.size();
|
| for (size_t i = 0; i < count; ++i) {
|
| Element& element = *elements[i];
|
| @@ -510,7 +510,7 @@ PassRefPtrWillBeRawPtr<Element> SelectorQuery::queryFirst(ContainerNode& rootNod
|
|
|
| SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, const Document& document, ExceptionState& exceptionState)
|
| {
|
| - HashMap<AtomicString, OwnPtr<SelectorQuery> >::iterator it = m_entries.find(selectors);
|
| + HashMap<AtomicString, OwnPtr<SelectorQuery>>::iterator it = m_entries.find(selectors);
|
| if (it != m_entries.end())
|
| return it->value.get();
|
|
|
|
|