Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7270cc8dcf9c1c980f1a864a41c71bdbab1b6b52 https://github.com/WebKit/WebKit/commit/7270cc8dcf9c1c980f1a864a41c71bdbab1b6b52 Author: Ryosuke Niwa <rn...@webkit.org> Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths: M Source/WTF/wtf/WeakListHashSet.h M Source/WebCore/style/StyleScope.cpp M Source/WebCore/style/StyleScope.h M Tools/TestWebKitAPI/Tests/WTF/WeakPtr.cpp Log Message: ----------- m_styleSheetCandidateNodes in StyleScope should be WeakListHashSet https://bugs.webkit.org/show_bug.cgi?id=251402 Reviewed by Antti Koivisto. Deployed WeakListHashSet for m_styleSheetCandidateNodes in StyleScope. * Source/WTF/wtf/WeakListHashSet.h: (WTF::WeakListHashSet::WeakListHashSetIteratorBase::WeakListHashSetIteratorBase): (WTF::WeakListHashSet::WeakListHashSetIteratorBase::advanceBackwards): Added. (WTF::WeakListHashSet::WeakListHashSetConstIterator::operator--): Added. (WTF::WeakListHashSet::WeakListHashSetIterator::operator--): Added. * Source/WebCore/style/StyleScope.cpp: (WebCore::Style::Scope::addStyleSheetCandidateNode): (WebCore::Style::Scope::removeStyleSheetCandidateNode): (WebCore::Style::Scope::collectXSLTransforms): (WebCore::Style::Scope::collectActiveStyleSheets): * Source/WebCore/style/StyleScope.h: * Tools/TestWebKitAPI/Tests/WTF/WeakPtr.cpp: (WTF_WeakPtr.WeakListHashSetIterators): Canonical link: https://commits.webkit.org/259698@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes