[webkit-changes] [WebKit/WebKit] 0d5648: Add Element::hasAttribute fast path
Yusuke Suzuki
noreply at github.com
Thu May 9 10:17:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0d5648d1dcf37a9417e0b582ffac95737cc95818
https://github.com/WebKit/WebKit/commit/0d5648d1dcf37a9417e0b582ffac95737cc95818
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
Add Element::hasAttribute fast path
https://bugs.webkit.org/show_bug.cgi?id=273922
rdar://problem/127788707
Reviewed by Chris Dumez.
Let's cherry-pick [1]. We should avoid creating QualifiedName again in hasAttributeNS.
[1]: https://chromium-review.googlesource.com/c/chromium/src/+/5490227
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::hasAttribute const):
Canonical link: https://commits.webkit.org/278571@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