[webkit-changes] [WebKit/WebKit] 9712f3: Add fast path for Element::hideNonce()
Chris Dumez
noreply at github.com
Wed Mar 8 16:02:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9712f3364bc98fc7386661f979b17dcfb8a435f7
https://github.com/WebKit/WebKit/commit/9712f3364bc98fc7386661f979b17dcfb8a435f7
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/dom/ElementInlines.h
Log Message:
-----------
Add fast path for Element::hideNonce()
https://bugs.webkit.org/show_bug.cgi?id=253532
Reviewed by Darin Adler.
Add fast path for Element::hideNonce(), for the common case where the element
doesn't have a nonce attribute.
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::hideNonceSlow):
(WebCore::Element::hideNonce): Deleted.
* Source/WebCore/dom/Element.h:
* Source/WebCore/dom/ElementInlines.h:
(WebCore::Element::hideNonce):
Canonical link: https://commits.webkit.org/261390@main
More information about the webkit-changes
mailing list