Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c22b96fcd756836c692875b9f08d6f99651f235d
      
https://github.com/WebKit/WebKit/commit/c22b96fcd756836c692875b9f08d6f99651f235d
  Author: Geoffrey Garen <[email protected]>
  Date:   2026-05-19 (Tue, 19 May 2026)

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/CSSGradientValue.cpp
    M Source/WebCore/css/CSSPrimitiveValue.cpp
    M Source/WebCore/css/CSSPrimitiveValue.h
    M Source/WebCore/css/CSSPropertyInitialValues.cpp
    M Source/WebCore/css/CSSViewValue.h
    M Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.cpp
    M Source/WebCore/css/ShorthandSerializer.cpp
    M Source/WebCore/css/calc/CSSCalcRandomCachingKey.h
    A Source/WebCore/css/calc/CSSCalcRandomSharingOptions.h
    M Source/WebCore/css/calc/CSSCalcTree.h
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp
    M Source/WebCore/css/typedom/CSSNumericValue.cpp
    M Source/WebCore/style/values/primitives/StyleLengthWrapper.h
    M Source/WebCore/style/values/primitives/StyleLengthWrapperData.h
    M 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h
    M Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.cpp
    M Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.h

  Log Message:
  -----------
  Out of line CSS Calc Variant types
https://bugs.webkit.org/show_bug.cgi?id=314989
<rdar://problem/177297919>

Reviewed by Elliott Williams.

Saves ~5s wall time in a clean build.

Use forward declaration to avoid pulling in CSSCalcTree.h when it isn't needed.

* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSGradientValue.cpp:
* Source/WebCore/css/CSSPrimitiveValue.cpp:
(WebCore::CSSCalc::protect):
* Source/WebCore/css/CSSPrimitiveValue.h:
* Source/WebCore/css/CSSPropertyInitialValues.cpp:
* Source/WebCore/css/CSSViewValue.h:
* Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.cpp:
* Source/WebCore/css/ShorthandSerializer.cpp:
* Source/WebCore/css/calc/CSSCalcRandomCachingKey.h:
(WebCore::CSSCalc::RandomCachingKey::RandomCachingKey):
(WebCore::CSSCalc::RandomCachingKey::convertToIdentifier):
(WTF::CSSCalcRandomCachingKeyHash::hash):
* Source/WebCore/css/calc/CSSCalcRandomSharingOptions.h: Added.
* Source/WebCore/css/calc/CSSCalcTree.h:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp:
* Source/WebCore/style/values/primitives/StyleLengthWrapper.h:
(WebCore::Style::LengthWrapperBase::switchOn const):
* Source/WebCore/style/values/primitives/StyleLengthWrapperData.h:
* 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h:
* Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.cpp:
(WebCore::Style::Calculation::protect):
* Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.h:

Canonical link: https://commits.webkit.org/313498@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to