Title: [179916] trunk/Source/WebCore
Revision
179916
Author
achristen...@apple.com
Date
2015-02-10 21:48:18 -0800 (Tue, 10 Feb 2015)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (179915 => 179916)


--- trunk/Source/WebCore/ChangeLog	2015-02-11 04:54:03 UTC (rev 179915)
+++ trunk/Source/WebCore/ChangeLog	2015-02-11 05:48:18 UTC (rev 179916)
@@ -1,3 +1,13 @@
+2015-02-10  Alex Christensen  <achristen...@webkit.org>
+
+        [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.
+
 2015-02-10  Chris Dumez  <cdu...@apple.com>
 
         [WK2] Add logging to validate the network cache efficacy (Part 2)

Modified: trunk/Source/WebCore/dom/TypedElementDescendantIterator.h (179915 => 179916)


--- trunk/Source/WebCore/dom/TypedElementDescendantIterator.h	2015-02-11 04:54:03 UTC (rev 179915)
+++ trunk/Source/WebCore/dom/TypedElementDescendantIterator.h	2015-02-11 05:48:18 UTC (rev 179916)
@@ -263,12 +263,12 @@
 
 template<typename ElementType> inline auto DoubleTypedElementDescendantIteratorAdapter<ElementType>::begin() -> Iterator
 {
-    return { m_pair.first.begin(), m_pair.second.begin() };
+    return Iterator(m_pair.first.begin(), m_pair.second.begin());
 }
 
 template<typename ElementType> inline auto DoubleTypedElementDescendantIteratorAdapter<ElementType>::end() -> Iterator
 {
-    return { m_pair.first.end(), m_pair.second.end() };
+    return Iterator(m_pair.first.end(), m_pair.second.end());
 }
 
 // DoubleTypedElementDescendantIterator
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to