[webkit-changes] [WebKit/WebKit] c60281: Inline CustomElementElementQueue into CustomElemen...
Ryosuke Niwa
noreply at github.com
Wed Mar 6 02:08:31 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c602819ddeb10b0600e9c1adebce3a73686f1ead
https://github.com/WebKit/WebKit/commit/c602819ddeb10b0600e9c1adebce3a73686f1ead
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M Source/WebCore/dom/CustomElementReactionQueue.cpp
M Source/WebCore/dom/CustomElementReactionQueue.h
M Source/WebCore/dom/GCReachableRef.h
Log Message:
-----------
Inline CustomElementElementQueue into CustomElementReactionStack
https://bugs.webkit.org/show_bug.cgi?id=270551
Reviewed by Chris Dumez.
Inline CustomElementElementQueue into CustomElementReactionStack to avoid heap allocation.
* Source/WebCore/dom/CustomElementReactionQueue.cpp:
(WebCore::CustomElementQueue::processQueue):
(WebCore::CustomElementReactionQueue::enqueueElementOnAppropriateElementQueue):
(WebCore::CustomElementReactionStack::processQueue): Deleted.
(WebCore::CustomElementReactionStack::takeElements): Deleted.
* Source/WebCore/dom/CustomElementReactionQueue.h:
(WebCore::CustomElementQueue::CustomElementQueue): Inlined.
(WebCore::CustomElementQueue::~CustomElementQueue): Ditto.
(WebCore::CustomElementQueue::isEmpty const): Added.
(WebCore::CustomElementReactionStack::~CustomElementReactionStack):
(WebCore::CustomElementReactionStack::takeElements): Inlined.
* Source/WebCore/dom/GCReachableRef.h:
Canonical link: https://commits.webkit.org/275734@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