[webkit-changes] [WebKit/WebKit] fe519f: [Cocoa] Simplify ScalableImageDecoder fallback logic

Myles C. Maxfield noreply at github.com
Fri Mar 3 12:21:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fe519f43f2e5efc579b388b72492b41088d43b97
      https://github.com/WebKit/WebKit/commit/fe519f43f2e5efc579b388b72492b41088d43b97
  Author: Myles C. Maxfield <mmaxfield at apple.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

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

  Log Message:
  -----------
  [Cocoa] Simplify ScalableImageDecoder fallback logic
https://bugs.webkit.org/show_bug.cgi?id=253299
rdar://106184839

Reviewed by Simon Fraser.

ScalableImageDecoder isn't itself specific to any specific format; we can simplify
this code and just try using it unconditionally, since its only set up to support
AVIF internally.

* Source/WebCore/platform/graphics/ImageDecoder.cpp:
(WebCore::ImageDecoder::create):

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




More information about the webkit-changes mailing list