Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a3ef039b60735f7852569d5d6d61a5bacf6027ac
https://github.com/WebKit/WebKit/commit/a3ef039b60735f7852569d5d6d61a5bacf6027ac
Author: Kiet Ho <[email protected]>
Date: 2026-07-24 (Fri, 24 Jul 2026)
Changed paths:
M Source/WebCore/style/values/color/StyleColorResolutionState.h
M Source/WebCore/style/values/color/StyleKeywordColor.cpp
M Source/WebCore/style/values/color/StyleLightDarkColor.cpp
Log Message:
-----------
Make smart pointers in Style::ColorResolutionState const
rdar://183061220
https://bugs.webkit.org/show_bug.cgi?id=320119
Reviewed by Tim Nguyen.
Style::ColorResolutionState contains two smart pointers that can be
made const, so we don't need to refcount them before using it.
* Source/WebCore/style/values/color/StyleColorResolutionState.h:
* Source/WebCore/style/values/color/StyleKeywordColor.cpp:
(WebCore::Style::toStyleColor):
* Source/WebCore/style/values/color/StyleLightDarkColor.cpp:
(WebCore::Style::toStyleColor):
Canonical link: https://commits.webkit.org/317847@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications