Title: [219344] trunk/Source/WebKit2
- Revision
- 219344
- Author
- clo...@igalia.com
- Date
- 2017-07-11 11:08:28 -0700 (Tue, 11 Jul 2017)
Log Message
Changing the web page muted state for playing audio should not disable other tabs capture
https://bugs.webkit.org/show_bug.cgi?id=174349
Unreviewed.
Patch by Youenn Fablet <you...@apple.com> on 2017-07-11
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::activateMediaStreamCaptureInPage): Fixes non MEDIA_STREAM builds.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (219343 => 219344)
--- trunk/Source/WebKit2/ChangeLog 2017-07-11 18:07:24 UTC (rev 219343)
+++ trunk/Source/WebKit2/ChangeLog 2017-07-11 18:08:28 UTC (rev 219344)
@@ -1,3 +1,13 @@
+2017-07-11 Youenn Fablet <you...@apple.com>
+
+ Changing the web page muted state for playing audio should not disable other tabs capture
+ https://bugs.webkit.org/show_bug.cgi?id=174349
+
+ Unreviewed.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::activateMediaStreamCaptureInPage): Fixes non MEDIA_STREAM builds.
+
2017-07-11 Wenson Hsieh <wenson_hs...@apple.com>
Address post-review feedback after http://trac.webkit.org/r219310
Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (219343 => 219344)
--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2017-07-11 18:07:24 UTC (rev 219343)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2017-07-11 18:08:28 UTC (rev 219344)
@@ -1669,7 +1669,9 @@
void WebPageProxy::activateMediaStreamCaptureInPage()
{
+#if ENABLE(MEDIA_STREAM)
UserMediaProcessManager::singleton().muteCaptureMediaStreamsExceptIn(*this);
+#endif
setMuted(m_mutedState & ~WebCore::MediaProducer::CaptureDevicesAreMuted);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes