Title: [161584] trunk/Source/WebCore
Revision
161584
Author
[email protected]
Date
2014-01-09 14:14:29 -0800 (Thu, 09 Jan 2014)

Log Message

Remove an accidentally left-behind static_cast.

* dom/ElementDescendantIterator.h:
(WebCore::ElementDescendantIteratorAdapter<ElementType>::beginAt):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161583 => 161584)


--- trunk/Source/WebCore/ChangeLog	2014-01-09 22:10:22 UTC (rev 161583)
+++ trunk/Source/WebCore/ChangeLog	2014-01-09 22:14:29 UTC (rev 161584)
@@ -1,5 +1,12 @@
 2014-01-09  Antti Koivisto  <[email protected]>
 
+        Remove an accidentally left-behind static_cast.
+
+        * dom/ElementDescendantIterator.h:
+        (WebCore::ElementDescendantIteratorAdapter<ElementType>::beginAt):
+
+2014-01-09  Antti Koivisto  <[email protected]>
+
         Replace ElementIteratorAdapter find() with beginAt()
         https://bugs.webkit.org/show_bug.cgi?id=126714
 

Modified: trunk/Source/WebCore/dom/ElementDescendantIterator.h (161583 => 161584)


--- trunk/Source/WebCore/dom/ElementDescendantIterator.h	2014-01-09 22:10:22 UTC (rev 161583)
+++ trunk/Source/WebCore/dom/ElementDescendantIterator.h	2014-01-09 22:14:29 UTC (rev 161584)
@@ -146,7 +146,7 @@
 inline ElementDescendantIterator<ElementType> ElementDescendantIteratorAdapter<ElementType>::beginAt(ElementType& descendant)
 {
     ASSERT(descendant.isDescendantOf(&m_root));
-    return ElementDescendantIterator<ElementType>(m_root, static_cast<ElementType*>(&descendant));
+    return ElementDescendantIterator<ElementType>(m_root, &descendant);
 }
 
 template <typename ElementType>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to