Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5266b069f715d2051da7f1fc8def26d5dcd5e03c https://github.com/WebKit/WebKit/commit/5266b069f715d2051da7f1fc8def26d5dcd5e03c Author: Anne van Kesteren <ann...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes