Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e5382ecf2d30dd3a847b3a2497ffa48c6541ca60
      
https://github.com/WebKit/WebKit/commit/e5382ecf2d30dd3a847b3a2497ffa48c6541ca60
  Author: Brady Eidson <[email protected]>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M Source/WebCore/Modules/mediasession/MediaSession.cpp
    M Source/WebCore/Modules/mediastream/MediaDevices.cpp
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Remove uses of "topDocument.hidden()"
rdar://139089701
https://bugs.webkit.org/show_bug.cgi?id=282457

Reviewed by Tim Nguyen.

With extremely limited exceptions, "hidden()" is a page-wide concept, and 
therefore
shared between the current Document and the topDocument.

For the use cases that grab topDocument first, it's irrelevant to do so.

* Source/WebCore/Modules/mediasession/MediaSession.cpp:
(WebCore::MediaSession::updateCaptureState):
* Source/WebCore/Modules/mediastream/MediaDevices.cpp:
(WebCore::MediaDevices::getDisplayMedia):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::voiceActivityDetected):

Canonical link: https://commits.webkit.org/286038@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

Reply via email to