Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e76387590957743e738a129d76106cf7fbd0f279
https://github.com/WebKit/WebKit/commit/e76387590957743e738a129d76106cf7fbd0f279
Author: Yousuke Kimoto <[email protected]>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M Source/WebCore/Modules/mediacontrols/MediaControlsHost.h
M Source/WebCore/Modules/mediacontrols/MediaControlsHost.idl
Log Message:
-----------
Fix break with MODERN_MEDIA_CONTROLS disabled after 264293@main
https://bugs.webkit.org/show_bug.cgi?id=257114
Reviewed by Eric Carlson and Jer Noble.
`Since MediaControlsHost::sourceType()` is implemented in a
`MODERN_MEDIA_CONTROLS` macro block, the API and related things
should be managed with the macro condition.
* Source/WebCore/Modules/mediacontrols/MediaControlsHost.h: Expanded the
`MODERN_MEDIA_CONTROLS` block to include `sourceType()` and related definitions.
* Source/WebCore/Modules/mediacontrols/MediaControlsHost.idl: Added a
`MODERN_MEDIA_CONTROLS` condition for sourceType
Canonical link: https://commits.webkit.org/264335@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes