[webkit-changes] [WebKit/WebKit] 5266b0: Simplify logic in HTMLMediaElement::mediaSessionTi...
Anne van Kesteren
noreply at github.com
Mon Feb 5 00:26:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5266b069f715d2051da7f1fc8def26d5dcd5e03c
https://github.com/WebKit/WebKit/commit/5266b069f715d2051da7f1fc8def26d5dcd5e03c
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2024-02-05 (Mon, 05 Feb 2024)
Changed paths:
M Source/WebCore/html/HTMLMediaElement.cpp
Log Message:
-----------
Simplify logic in HTMLMediaElement::mediaSessionTitle()
https://bugs.webkit.org/show_bug.cgi?id=268622
Reviewed by Ryosuke Niwa.
At this point in the code, title is empty. We then set it to something,
but if that results in a non-empty title, we continue to override it
again, except now using cross-platform code. Just running the
cross-platform code should give identical results.
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaSessionTitle const):
Canonical link: https://commits.webkit.org/274087@main
More information about the webkit-changes
mailing list