⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 179916 in webkit


Ignore:
Timestamp:
Feb 10, 2015, 9:48:18 PM (12 years ago)
Author:
achristensen@apple.com
Message:

[Win] Fix debug build after r179807.
https://bugs.webkit.org/show_bug.cgi?id=141461

Reviewed by Benjamin Poulain.

  • dom/TypedElementDescendantIterator.h:

Explicitly call Iterator constructor to reduce complexity when iterating descendantsOfType.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r179910 r179916  
     12015-02-10  Alex Christensen  <achristensen@webkit.org>
     2
     3        [Win] Fix debug build after r179807.
     4        https://bugs.webkit.org/show_bug.cgi?id=141461
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * dom/TypedElementDescendantIterator.h:
     9        Explicitly call Iterator constructor to reduce complexity when iterating descendantsOfType.
     10
    1112015-02-10  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebCore/dom/TypedElementDescendantIterator.h

    r179807 r179916  
    264264template<typename ElementType> inline auto DoubleTypedElementDescendantIteratorAdapter<ElementType>::begin() -> Iterator
    265265{
    266     return { m_pair.first.begin(), m_pair.second.begin() };
     266    return Iterator(m_pair.first.begin(), m_pair.second.begin());
    267267}
    268268
    269269template<typename ElementType> inline auto DoubleTypedElementDescendantIteratorAdapter<ElementType>::end() -> Iterator
    270270{
    271     return { m_pair.first.end(), m_pair.second.end() };
     271    return Iterator(m_pair.first.end(), m_pair.second.end());
    272272}
    273273
Note: See TracChangeset for help on using the changeset viewer.