Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9d0ec2206fd7253fb4870f57b81a1997cafbb9a6
      
https://github.com/WebKit/WebKit/commit/9d0ec2206fd7253fb4870f57b81a1997cafbb9a6
  Author: Sam Weinig <[email protected]>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M Source/WebCore/style/StyleBuilderConverter.h
    M Source/WebCore/style/StyleExtractorConverter.h
    M Source/WebCore/style/StyleExtractorSerializer.h
    M Source/WebCore/style/values/shapes/StyleBasicShape.cpp
    M Source/WebCore/style/values/shapes/StyleBasicShape.h
    M Source/WebCore/style/values/shapes/StylePathFunction.cpp
    M Source/WebCore/style/values/shapes/StylePathFunction.h

  Log Message:
  -----------
  [Style] Adopt standard interfaces with rest parameters for BasicShape 
conversion
https://bugs.webkit.org/show_bug.cgi?id=294674

Reviewed by Darin Adler.

Now that we have rest parameters everywhere we can adopt
the standard interfaces for conversions for BasicShape.

* Source/WebCore/style/StyleBuilderConverter.h:
    - Replace convertBasicShape with standard convertStyleType for BasicShape,
      passing the appropriate zoom value via rest parameter.

* Source/WebCore/style/StyleExtractorConverter.h:
    - Replace convertBasicShape with standard convertStyleType for BasicShape,
      passing the appropriate path conversion value via rest parameter.

* Source/WebCore/style/StyleExtractorSerializer.h:
    - Replace serializeBasicShape with standard serializeStyleType for 
BasicShape,
      passing the appropriate path conversion value via rest parameter.

* Source/WebCore/style/values/shapes/StyleBasicShape.cpp:
* Source/WebCore/style/values/shapes/StyleBasicShape.h:
* Source/WebCore/style/values/shapes/StylePathFunction.cpp:
* Source/WebCore/style/values/shapes/StylePathFunction.h:
    - Add PathConversion parameter to ToCSS conversion.
    - Add zoom parameter to ToStyle conversion.
    - Add missing CSSValueCreation, CSSValueConversion and Serialize
      interfaces using appropriate additional parameters.

Canonical link: https://commits.webkit.org/296403@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

Reply via email to