Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: de137ad609fcd10a9c6e66e35bf52f0e742ae5c1
https://github.com/WebKit/WebKit/commit/de137ad609fcd10a9c6e66e35bf52f0e742ae5c1
Author: Chris Dumez <[email protected]>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M Source/WebCore/style/PropertyCascade.cpp
M Source/WebCore/style/PropertyCascade.h
M Source/WebCore/style/StyleBuilder.h
Log Message:
-----------
Avoid unnecessary HashSet copy in
PropertyCascade::overriddenAnimatedProperties()
https://bugs.webkit.org/show_bug.cgi?id=311638
Reviewed by Geoffrey Garen.
Use ValueOrReference<HashSet<AnimatableCSSProperty>> so that when
m_animationLayer exists, we return a reference to the existing
overriddenProperties rather than copying the entire HashSet.
* Source/WebCore/style/PropertyCascade.cpp:
(WebCore::Style::PropertyCascade::overriddenAnimatedProperties const):
* Source/WebCore/style/PropertyCascade.h:
* Source/WebCore/style/StyleBuilder.h:
(WebCore::Style::Builder::overriddenAnimatedProperties const):
Canonical link: https://commits.webkit.org/310749@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications