[webkit-changes] [WebKit/WebKit] 381f8a: Style::RuleFeatureSet wastes vector capacity
Antti Koivisto
noreply at github.com
Wed Feb 8 10:44:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 381f8ae629b0ae83db1d130065e92d385c82c0ba
https://github.com/WebKit/WebKit/commit/381f8ae629b0ae83db1d130065e92d385c82c0ba
Author: Antti Koivisto <antti at apple.com>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M Source/WebCore/style/StyleScopeRuleSets.cpp
Log Message:
-----------
Style::RuleFeatureSet wastes vector capacity
https://bugs.webkit.org/show_bug.cgi?id=251701
rdar://105011534
Reviewed by Simon Fraser.
* Source/WebCore/style/StyleScopeRuleSets.cpp:
(WebCore::Style::ensureInvalidationRuleSets):
Shrink-to-fit the RuleSets (which also handles the RuleFeatureSets).
Canonical link: https://commits.webkit.org/260021@main
More information about the webkit-changes
mailing list