Title: [264370] trunk/Source/WebCore
- Revision
- 264370
- Author
- pvol...@apple.com
- Date
- 2020-07-14 12:55:46 -0700 (Tue, 14 Jul 2020)
Log Message
[iOS] Avoid loading media libraries in Document::visibilityStateChanged() if not needed
https://bugs.webkit.org/show_bug.cgi?id=214304
<rdar://problem/65005038>
Unreviewed, address additional review comments.
* dom/Document.cpp:
(WebCore::Document::visibilityStateChanged):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (264369 => 264370)
--- trunk/Source/WebCore/ChangeLog 2020-07-14 19:50:03 UTC (rev 264369)
+++ trunk/Source/WebCore/ChangeLog 2020-07-14 19:55:46 UTC (rev 264370)
@@ -1,3 +1,14 @@
+2020-07-14 Per Arne Vollan <pvol...@apple.com>
+
+ [iOS] Avoid loading media libraries in Document::visibilityStateChanged() if not needed
+ https://bugs.webkit.org/show_bug.cgi?id=214304
+ <rdar://problem/65005038>
+
+ Unreviewed, address additional review comments.
+
+ * dom/Document.cpp:
+ (WebCore::Document::visibilityStateChanged):
+
2020-07-14 Jer Noble <jer.no...@apple.com>
Add support for parsing VP-style codec strings.
Modified: trunk/Source/WebCore/dom/Document.cpp (264369 => 264370)
--- trunk/Source/WebCore/dom/Document.cpp 2020-07-14 19:50:03 UTC (rev 264369)
+++ trunk/Source/WebCore/dom/Document.cpp 2020-07-14 19:55:46 UTC (rev 264370)
@@ -1758,8 +1758,8 @@
client->visibilityStateChanged();
#if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
- if (PlatformMediaSessionManager::sharedManagerIfExists()) {
- if (!PlatformMediaSessionManager::sharedManager().isInterrupted())
+ if (auto mediaSessionManager = PlatformMediaSessionManager::sharedManagerIfExists()) {
+ if (!mediaSessionManager->isInterrupted())
MediaStreamTrack::updateCaptureAccordingToMutedState(*this);
}
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes