Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f4cf0e014e176898aed97ac0fc8d3f163775717d
https://github.com/WebKit/WebKit/commit/f4cf0e014e176898aed97ac0fc8d3f163775717d
Author: Gerald Squelart <[email protected]>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M Source/WebCore/html/HTMLMediaElement.h
M Source/WebCore/platform/graphics/ImagePaintingOptions.h
M Source/WebCore/platform/graphics/MediaPlayer.h
M Source/WebCore/platform/graphics/PlatformDynamicRangeLimit.h
M Tools/TestWebKitAPI/Tests/WebCore/PlatformDynamicRangeLimitTests.cpp
Log Message:
-----------
PlatformDynamicRangeLimit now has static initial values
https://bugs.webkit.org/show_bug.cgi?id=289685
rdar://146936785
Reviewed by Mike Wyrzykowski and Anne van Kesteren.
PlatformDynamicRangeLimit doesn't have a default constructor anymore.
Users must explicitly pick an initial value, or construct another way
like Style::DynamicRangeLimit::toPlatformDynamicRangeLimit().
Note the distinct initial value for videos.
* Source/WebCore/html/HTMLMediaElement.h:
* Source/WebCore/platform/graphics/ImagePaintingOptions.h:
* Source/WebCore/platform/graphics/MediaPlayer.h:
* Source/WebCore/platform/graphics/PlatformDynamicRangeLimit.h:
(WebCore::PlatformDynamicRangeLimit::initialValue):
(WebCore::PlatformDynamicRangeLimit::initialValueForVideos):
* Tools/TestWebKitAPI/Tests/WebCore/PlatformDynamicRangeLimitTests.cpp:
(TestWebKitAPI::TEST(PlatformDynamicRangeLimit, Values)):
(TestWebKitAPI::TEST(PlatformDynamicRangeLimit, StaticValues)):
(TestWebKitAPI::TEST(PlatformDynamicRangeLimit, DefaultConstruction)): Deleted.
Canonical link: https://commits.webkit.org/292117@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