[webkit-changes] [WebKit/WebKit] 9216f8: Make SetInlineStroke construct PackedColor::RGBA f...

Said Abou-Hallawa noreply at github.com
Tue Oct 31 17:28:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9216f889c29fbb33af9db6d1954b815a7d3a1c21
      https://github.com/WebKit/WebKit/commit/9216f889c29fbb33af9db6d1954b815a7d3a1c21
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/displaylists/DisplayListItems.h

  Log Message:
  -----------
  Make SetInlineStroke construct PackedColor::RGBA from SRGBA by calling its constructor
https://bugs.webkit.org/show_bug.cgi?id=264000
rdar://117765204

Reviewed by Simon Fraser.

PackedColor::RGBA constructor can be used to convert from SRGBA to PackedColor::RGBA
in one step.

* Source/WebCore/platform/graphics/displaylists/DisplayListItems.h:
(WebCore::DisplayList::SetInlineStroke::SetInlineStroke):

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




More information about the webkit-changes mailing list