[webkit-changes] [WebKit/WebKit] 3ae98f: [css-will-change] Use StyleBuilderConverter instea...

Tim Nguyen noreply at github.com
Sat Jul 15 18:53:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ae98fa2c02b272e3e55c4e0c324d01da17cb5dc
      https://github.com/WebKit/WebKit/commit/3ae98fa2c02b272e3e55c4e0c324d01da17cb5dc
  Author: Tim Nguyen <ntim.bugs at gmail.com>
  Date:   2023-07-15 (Sat, 15 Jul 2023)

  Changed paths:
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/style/StyleBuilderConverter.h
    M Source/WebCore/style/StyleBuilderCustom.h

  Log Message:
  -----------
  [css-will-change] Use StyleBuilderConverter instead of StyleBuilderCustom
https://bugs.webkit.org/show_bug.cgi?id=259247

Reviewed by Darin Adler.

BuilderCustom::applyValueWillChange just converts a CSSValue to RefPtr<WillChangeData>, this is something BuilderConverter can do as well.

* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertWillChange):
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyValueWillChange): Deleted.

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




More information about the webkit-changes mailing list