Title: [196839] trunk/Source/WebCore
- Revision
- 196839
- Author
- [email protected]
- Date
- 2016-02-19 15:24:51 -0800 (Fri, 19 Feb 2016)
Log Message
Drop UnsafeVectorOverflow on ElementDescendantConstIterator::m_ancestorSiblingStack
https://bugs.webkit.org/show_bug.cgi?id=154477
Reviewed by Ryosuke Niwa.
Drop UnsafeVectorOverflow on ElementDescendantConstIterator::m_ancestorSiblingStack to
restore bounds checking.
Andreas already dropped in on ElementDescendantIterator::m_ancestorSiblingStack in
r178253 but did not update the "Const" counterpart.
* dom/ElementDescendantIterator.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (196838 => 196839)
--- trunk/Source/WebCore/ChangeLog 2016-02-19 23:03:00 UTC (rev 196838)
+++ trunk/Source/WebCore/ChangeLog 2016-02-19 23:24:51 UTC (rev 196839)
@@ -1,3 +1,18 @@
+2016-02-19 Chris Dumez <[email protected]>
+
+ Drop UnsafeVectorOverflow on ElementDescendantConstIterator::m_ancestorSiblingStack
+ https://bugs.webkit.org/show_bug.cgi?id=154477
+
+ Reviewed by Ryosuke Niwa.
+
+ Drop UnsafeVectorOverflow on ElementDescendantConstIterator::m_ancestorSiblingStack to
+ restore bounds checking.
+
+ Andreas already dropped in on ElementDescendantIterator::m_ancestorSiblingStack in
+ r178253 but did not update the "Const" counterpart.
+
+ * dom/ElementDescendantIterator.h:
+
2016-02-19 Simon Fraser <[email protected]>
Wheel event callback removing the window causes crash in WebCore.
Modified: trunk/Source/WebCore/dom/ElementDescendantIterator.h (196838 => 196839)
--- trunk/Source/WebCore/dom/ElementDescendantIterator.h 2016-02-19 23:03:00 UTC (rev 196838)
+++ trunk/Source/WebCore/dom/ElementDescendantIterator.h 2016-02-19 23:24:51 UTC (rev 196839)
@@ -75,7 +75,7 @@
private:
const Element* m_current;
- Vector<Element*, 16, UnsafeVectorOverflow> m_ancestorSiblingStack;
+ Vector<Element*, 16> m_ancestorSiblingStack;
#if !ASSERT_DISABLED
ElementIteratorAssertions m_assertions;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes