[webkit-changes] [WebKit/WebKit] 374c48: Adopt more smart pointers in our DOM iterator classes
Chris Dumez
noreply at github.com
Tue Jul 30 21:05:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 374c48e43da6f5388214d4b4edc48adbbab1eade
https://github.com/WebKit/WebKit/commit/374c48e43da6f5388214d4b4edc48adbbab1eade
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M Source/WebCore/dom/ElementAndTextDescendantIterator.h
M Source/WebCore/dom/ElementChildIterator.h
M Source/WebCore/dom/ElementChildIteratorInlines.h
M Source/WebCore/dom/ElementIterator.h
M Source/WebCore/dom/ElementIteratorInlines.h
Log Message:
-----------
Adopt more smart pointers in our DOM iterator classes
https://bugs.webkit.org/show_bug.cgi?id=277344
Reviewed by Ryosuke Niwa.
This tested as neutral on Speedometer.
* Source/WebCore/dom/ElementAndTextDescendantIterator.h:
(WebCore::ElementAndTextDescendantIterator::ElementAndTextDescendantIterator):
(WebCore::ElementAndTextDescendantIterator::operator->):
(WebCore::ElementAndTextDescendantIterator::operator-> const):
* Source/WebCore/dom/ElementIterator.h:
(WebCore:: const):
(): Deleted.
* Source/WebCore/dom/ElementIteratorInlines.h:
(WebCore::ElementIterator<ElementType>::traverseNext):
(WebCore::ElementIterator<ElementType>::traversePrevious):
(WebCore::ElementIterator<ElementType>::traverseNextSkippingChildren):
Canonical link: https://commits.webkit.org/281635@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list