Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed458bb58430e3984c90149ed7c82f93f1677041
      
https://github.com/WebKit/WebKit/commit/ed458bb58430e3984c90149ed7c82f93f1677041
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake

  Log Message:
  -----------
  [GTK][WPE] Require libpng 1.5.0 or newer
https://bugs.webkit.org/show_bug.cgi?id=323961

Reviewed by Carlos Garcia Campos.

Explicitly set the minimum required version of libpng to 1.5.0, which
allows to clean up PNGImageDecoder a little by removing guards used to
support older releases.

No new tests needed.

* Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:
(WebCore::decodingFailed):
(WebCore::PNGImageReader::decode):
(WebCore::PNGImageDecoder::headerAvailable):
(WebCore::PNGImageDecoder::currentFrameBuffer):
(WebCore::PNGImageDecoder::ensureInterlaceBuffer):
(WebCore::PNGImageDecoder::readChunks):
(WebCore::PNGImageDecoder::initFrameBuffer):
(WebCore::PNGImageDecoder::processingStart):
(WebCore::PNGImageDecoder::processingFinish):
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to