Title: [261526] branches/safari-609-branch/Source/WebCore
Revision
261526
Author
[email protected]
Date
2020-05-11 17:22:15 -0700 (Mon, 11 May 2020)

Log Message

Cherry-pick r258991. rdar://problem/62978907

    Fix build after https://trac.webkit.org/changeset/258977/webkit
    https://bugs.webkit.org/show_bug.cgi?id=209545

    Unreviewed.

    * dom/Document.cpp:
    (WebCore::Document::visibilityStateChanged):
    Add ENABLE(MEDIA_STREAM) compilation flag.

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-609-branch/Source/WebCore/ChangeLog (261525 => 261526)


--- branches/safari-609-branch/Source/WebCore/ChangeLog	2020-05-12 00:22:12 UTC (rev 261525)
+++ branches/safari-609-branch/Source/WebCore/ChangeLog	2020-05-12 00:22:15 UTC (rev 261526)
@@ -1,5 +1,33 @@
 2020-05-11  Alan Coon  <[email protected]>
 
+        Cherry-pick r258991. rdar://problem/62978907
+
+    Fix build after https://trac.webkit.org/changeset/258977/webkit
+    https://bugs.webkit.org/show_bug.cgi?id=209545
+    
+    Unreviewed.
+    
+    
+    * dom/Document.cpp:
+    (WebCore::Document::visibilityStateChanged):
+    Add ENABLE(MEDIA_STREAM) compilation flag.
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-03-25  youenn fablet  <[email protected]>
+
+            Fix build after https://trac.webkit.org/changeset/258977/webkit
+            https://bugs.webkit.org/show_bug.cgi?id=209545
+
+            Unreviewed.
+
+            * dom/Document.cpp:
+            (WebCore::Document::visibilityStateChanged):
+            Add ENABLE(MEDIA_STREAM) compilation flag.
+
+2020-05-11  Alan Coon  <[email protected]>
+
         Cherry-pick r258977. rdar://problem/62978907
 
     Audio fails to capture stream in WebRTC if AudioSession gets interrupted

Modified: branches/safari-609-branch/Source/WebCore/dom/Document.cpp (261525 => 261526)


--- branches/safari-609-branch/Source/WebCore/dom/Document.cpp	2020-05-12 00:22:12 UTC (rev 261525)
+++ branches/safari-609-branch/Source/WebCore/dom/Document.cpp	2020-05-12 00:22:15 UTC (rev 261526)
@@ -1729,14 +1729,16 @@
     for (auto* client : m_visibilityStateCallbackClients)
         client->visibilityStateChanged();
 
-#if PLATFORM(IOS_FAMILY)
+#if ENABLE(MEDIA_STREAM)
     if (hidden()) {
         RealtimeMediaSourceCenter::singleton().setCapturePageState(hidden(), page()->isMediaCaptureMuted());
         return;
     }
+#if PLATFORM(IOS_FAMILY)
     if (!PlatformMediaSessionManager::sharedManager().isInterrupted())
         MediaStreamTrack::updateCaptureAccordingToMutedState(*this);
 #endif
+#endif
 }
 
 VisibilityState Document::visibilityState() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to