Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 85745f3bbae755404e90e0b71643ba34e17a5c4b
https://github.com/WebKit/WebKit/commit/85745f3bbae755404e90e0b71643ba34e17a5c4b
Author: Said Abou-Hallawa <[email protected]>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M Source/WebCore/platform/graphics/BitmapImageDescriptor.cpp
M Source/WebCore/platform/graphics/BitmapImageDescriptor.h
Log Message:
-----------
Update the cached image encodedDataStatus only when the encoded data is
incrementally updated
https://bugs.webkit.org/show_bug.cgi?id=292762
rdar://150987081
Reviewed by Simon Fraser.
CGImageSourceGetStatus() should be called as many times as the encoded data of
ImageDecoder is updated. BitmapImageDescriptor::encodedDataStatus should be used
instead of calling ImageDecoder::encodedDataStatus().
* Source/WebCore/platform/graphics/BitmapImageDescriptor.cpp:
(WebCore::BitmapImageDescriptor::imageMetadata const):
(WebCore::BitmapImageDescriptor::encodedDataStatus const):
(WebCore::BitmapImageDescriptor::maximumSubsamplingLevel const):
* Source/WebCore/platform/graphics/BitmapImageDescriptor.h:
(WebCore::BitmapImageDescriptor::isSizeAvailable const):
Canonical link: https://commits.webkit.org/294714@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