Title: [215300] trunk/Source/WebCore
Revision
215300
Author
[email protected]
Date
2017-04-12 15:34:51 -0700 (Wed, 12 Apr 2017)

Log Message

[MediaStream] Set correct audio session category when capturing audio
https://bugs.webkit.org/show_bug.cgi?id=170736
<rdar://problem/31559405>

Unreviewed, update an assertion I missed in r215242.

* platform/audio/PlatformMediaSession.cpp:
(WebCore::PlatformMediaSession::PlatformMediaSession):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (215299 => 215300)


--- trunk/Source/WebCore/ChangeLog	2017-04-12 22:26:38 UTC (rev 215299)
+++ trunk/Source/WebCore/ChangeLog	2017-04-12 22:34:51 UTC (rev 215300)
@@ -1,3 +1,14 @@
+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>
+
+        Unreviewed, update an assertion I missed in r215242.
+
+        * platform/audio/PlatformMediaSession.cpp:
+        (WebCore::PlatformMediaSession::PlatformMediaSession):
+
 2017-04-12  Alex Christensen  <[email protected]>
 
         Remove unused SharedBuffer::wrapCFDataArray

Modified: trunk/Source/WebCore/platform/audio/PlatformMediaSession.cpp (215299 => 215300)


--- trunk/Source/WebCore/platform/audio/PlatformMediaSession.cpp	2017-04-12 22:26:38 UTC (rev 215299)
+++ trunk/Source/WebCore/platform/audio/PlatformMediaSession.cpp	2017-04-12 22:34:51 UTC (rev 215300)
@@ -81,7 +81,7 @@
     , m_stateToRestore(Idle)
     , m_notifyingClient(false)
 {
-    ASSERT(m_client.mediaType() >= None && m_client.mediaType() <= WebAudio);
+    ASSERT(m_client.mediaType() >= None && m_client.mediaType() <= MediaStreamCapturingAudio);
     PlatformMediaSessionManager::sharedManager().addSession(*this);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to