Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f644ba89b026744cb4a61f931d75c006847960ed
      
https://github.com/WebKit/WebKit/commit/f644ba89b026744cb4a61f931d75c006847960ed
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    A LayoutTests/fast/images/animated-gif-sub-sample-expected.html
    A LayoutTests/fast/images/animated-gif-sub-sample.html
    A LayoutTests/fast/images/resources/3720-2584-animated-black.gif
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WebCore/platform/graphics/BitmapImageSource.cpp
    M Source/WebCore/platform/graphics/BitmapImageSource.h

  Log Message:
  -----------
  REGRESSION(276827@main): Some animated images that used to work no longer work
https://bugs.webkit.org/show_bug.cgi?id=273457
rdar://127133070

Reviewed by Simon Fraser.

Like before 276827@main, make frameAtIndexCacheIfNeeded() take an optional
SubsamplingLevel. This pramater should not affect the cached NativeImage if it
is std::nullopt.

* LayoutTests/fast/images/animated-gif-sub-sample-expected.html: Added.
* LayoutTests/fast/images/animated-gif-sub-sample.html: Added.
* LayoutTests/fast/images/resources/3720-2584-animated-black.gif: Added.
* LayoutTests/platform/mac-wk1/TestExpectations:
* Source/WebCore/platform/graphics/BitmapImageSource.cpp:
(WebCore::BitmapImageSource::frameAtIndexCacheIfNeeded):
* Source/WebCore/platform/graphics/BitmapImageSource.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to