[webkit-changes] [WebKit/WebKit] 75ca10: Cleanup NamedImageGeneratedImage

Anne van Kesteren noreply at github.com
Wed Nov 15 08:20:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 75ca1048e0a16e92ed2a5eaf85fda2b19ddab7c7
      https://github.com/WebKit/WebKit/commit/75ca1048e0a16e92ed2a5eaf85fda2b19ddab7c7
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/NamedImageGeneratedImage.cpp

  Log Message:
  -----------
  Cleanup NamedImageGeneratedImage
https://bugs.webkit.org/show_bug.cgi?id=264874

Reviewed by Simon Fraser.

As far as I can tell 176071 at main forgot to enable drawPattern() for iOS
platforms. Furthermore, USE(NEW_THEME) || PLATFORM(IOS_FAMILY) is
essentially all platforms and all platforms support Theme, so again, as
far as I can tell, there's no need for these conditionals.

* Source/WebCore/platform/graphics/NamedImageGeneratedImage.cpp:
(WebCore::NamedImageGeneratedImage::draw):
(WebCore::NamedImageGeneratedImage::drawPattern):

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




More information about the webkit-changes mailing list