Title: [288493] trunk/Source/WebCore
Revision
288493
Author
[email protected]
Date
2022-01-24 17:23:54 -0800 (Mon, 24 Jan 2022)

Log Message

REGRESSION (iOS 15): HTMLAudioElement fails to load new audio when device is locked or safari is in background
https://bugs.webkit.org/show_bug.cgi?id=229688
<rdar://problem/82554226>

Unreviewed, adress post-review feedback.


* platform/audio/cocoa/MediaSessionManagerCocoa.mm:
(WebCore::MediaSessionManagerCocoa::updateSessionState):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (288492 => 288493)


--- trunk/Source/WebCore/ChangeLog	2022-01-25 01:11:15 UTC (rev 288492)
+++ trunk/Source/WebCore/ChangeLog	2022-01-25 01:23:54 UTC (rev 288493)
@@ -1,3 +1,14 @@
+2022-01-24  Eric Carlson  <[email protected]>
+
+        REGRESSION (iOS 15): HTMLAudioElement fails to load new audio when device is locked or safari is in background
+        https://bugs.webkit.org/show_bug.cgi?id=229688
+        <rdar://problem/82554226>
+
+        Unreviewed, adress post-review feedback.
+
+        * platform/audio/cocoa/MediaSessionManagerCocoa.mm:
+        (WebCore::MediaSessionManagerCocoa::updateSessionState):
+
 2022-01-24  Patrick Angle  <[email protected]>
 
         Web Inspector: [Flexbox] Add instrumentation/protocol bits for flex layout containers

Modified: trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm (288492 => 288493)


--- trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm	2022-01-25 01:11:15 UTC (rev 288492)
+++ trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm	2022-01-25 01:23:54 UTC (rev 288493)
@@ -94,7 +94,7 @@
 
 void MediaSessionManagerCocoa::updateSessionState()
 {
-    static const Seconds delayBeforeSettingCategoryNone = { 2_s };
+    constexpr auto delayBeforeSettingCategoryNone = 2_s;
     int videoCount = 0;
     int videoAudioCount = 0;
     int audioCount = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to