Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 21f7c39a0c3e3d47409eb8b225c037df243c1dcd https://github.com/WebKit/WebKit/commit/21f7c39a0c3e3d47409eb8b225c037df243c1dcd Author: Ryosuke Niwa <rn...@webkit.org> Date: 2024-01-10 (Wed, 10 Jan 2024)
Changed paths: M Source/WebCore/html/DOMTokenList.cpp M Source/WebCore/html/DOMTokenList.h Log Message: ----------- DOMTokenList should take more advantage of AtomString https://bugs.webkit.org/show_bug.cgi?id=267313 Reviewed by Yusuke Suzuki. Take advantage of the fact updateTokensFromAttributeValue and updateAssociatedAttributeFromTokens can both receive AtomString as arguments. * Source/WebCore/html/DOMTokenList.cpp: (WebCore::replaceInOrderedSet): (WebCore::DOMTokenList::updateTokensFromAttributeValue): (WebCore::DOMTokenList::updateAssociatedAttributeFromTokens): (WebCore::DOMTokenList::tokens): * Source/WebCore/html/DOMTokenList.h: (WebCore::DOMTokenList::tokens const): Canonical link: https://commits.webkit.org/272857@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes