Title: [215309] trunk/Source/WebCore
Revision
215309
Author
[email protected]
Date
2017-04-12 17:40:38 -0700 (Wed, 12 Apr 2017)

Log Message

REGRESSION (r215242-215243): [ios-simulator] API test WebKit1.AudioSessionCategoryIOS is failing
https://bugs.webkit.org/show_bug.cgi?id=170777
<rdar://problem/31592877>

Reviewed by Jer Noble.

No new tests, fixes an existing test.

* platform/audio/cocoa/MediaSessionManagerCocoa.cpp:
(PlatformMediaSessionManager::updateSessionState): Pass parameters to lambda by reference.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (215308 => 215309)


--- trunk/Source/WebCore/ChangeLog	2017-04-13 00:36:36 UTC (rev 215308)
+++ trunk/Source/WebCore/ChangeLog	2017-04-13 00:40:38 UTC (rev 215309)
@@ -1,5 +1,18 @@
 2017-04-12  Eric Carlson  <[email protected]>
 
+        REGRESSION (r215242-215243): [ios-simulator] API test WebKit1.AudioSessionCategoryIOS is failing
+        https://bugs.webkit.org/show_bug.cgi?id=170777
+        <rdar://problem/31592877>
+
+        Reviewed by Jer Noble.
+
+        No new tests, fixes an existing test.
+
+        * platform/audio/cocoa/MediaSessionManagerCocoa.cpp:
+        (PlatformMediaSessionManager::updateSessionState): Pass parameters to lambda by reference.
+
+2017-04-12  Eric Carlson  <[email protected]>
+
         [MediaStream] Set correct audio session category when capturing audio
         https://bugs.webkit.org/show_bug.cgi?id=170736
         <rdar://problem/31559405>

Modified: trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.cpp (215308 => 215309)


--- trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.cpp	2017-04-13 00:36:36 UTC (rev 215308)
+++ trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.cpp	2017-04-13 00:40:38 UTC (rev 215309)
@@ -63,7 +63,7 @@
 
     bool hasAudioMediaType = false;
     bool hasAudibleAudioOrVideoMediaType = false;
-    bool hasAudioCapture = anyOfSessions([this, hasAudioMediaType, hasAudibleAudioOrVideoMediaType] (PlatformMediaSession& session, size_t) mutable {
+    bool hasAudioCapture = anyOfSessions([this, &hasAudioMediaType, &hasAudibleAudioOrVideoMediaType] (PlatformMediaSession& session, size_t) mutable {
         auto type = session.mediaType();
         if (type == PlatformMediaSession::VideoAudio || type == PlatformMediaSession::Audio || type == PlatformMediaSession::WebAudio)
             hasAudioMediaType = true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to