Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 904a7c66c05d4870f51e53af04a292e7e338fb30
https://github.com/WebKit/WebKit/commit/904a7c66c05d4870f51e53af04a292e7e338fb30
Author: Antti Koivisto <[email protected]>
Date: 2025-06-18 (Wed, 18 Jun 2025)
Changed paths:
M Source/WebCore/css/CSSPendingSubstitutionValue.cpp
M Source/WebCore/css/CSSPendingSubstitutionValue.h
M Source/WebCore/css/CSSVariableReferenceValue.cpp
M Source/WebCore/css/CSSVariableReferenceValue.h
M Source/WebCore/style/StyleBuilder.cpp
M Source/WebCore/style/StyleBuilderState.cpp
M Source/WebCore/style/StyleBuilderState.h
Log Message:
-----------
Remove Style::Builder backpointer from BuilderState
https://bugs.webkit.org/show_bug.cgi?id=294666
rdar://problem/153719342
Reviewed by Alan Baradlay.
The only client for it is the variable reference resolution but we can just
pass Builder there.
* Source/WebCore/css/CSSPendingSubstitutionValue.cpp:
(WebCore::CSSPendingSubstitutionValue::resolveValue const):
* Source/WebCore/css/CSSPendingSubstitutionValue.h:
* Source/WebCore/css/CSSVariableReferenceValue.cpp:
(WebCore::CSSVariableReferenceValue::resolveVariableFallback const):
(WebCore::propertyValueForVariableName):
(WebCore::CSSVariableReferenceValue::resolveVariableReference const):
(WebCore::CSSVariableReferenceValue::resolveTokenRange const):
(WebCore::CSSVariableReferenceValue::tryResolveSimpleReference const):
(WebCore::CSSVariableReferenceValue::resolveVariableReferences const):
(WebCore::CSSVariableReferenceValue::resolveSingleValue const):
* Source/WebCore/css/CSSVariableReferenceValue.h:
(WebCore::CSSVariableReferenceValue::resolveAndCacheValue const):
* Source/WebCore/style/StyleBuilder.cpp:
(WebCore::Style::Builder::Builder):
(WebCore::Style::Builder::resolveVariableReferences):
(WebCore::Style::Builder::resolveCustomPropertyValue):
* Source/WebCore/style/StyleBuilderState.cpp:
(WebCore::Style::BuilderState::BuilderState):
* Source/WebCore/style/StyleBuilderState.h:
(WebCore::Style::BuilderState::builder): Deleted.
Canonical link: https://commits.webkit.org/296371@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes