Source/WebKit/ChangeLog

 12020-07-06 Peng Liu <peng.liu6@apple.com>
 2
 3 REGRESSION (r261001): ASSERTION FAILED: m_clientCounts.contains(contextId) in WebKit::VideoFullscreenManagerProxy::removeClientForContext
 4 https://bugs.webkit.org/show_bug.cgi?id=212986
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm:
 9 (WebKit::VideoFullscreenManagerProxy::removeClientForContext):
 10 Function removeClientForContext() could be called multiple times with the same contextId.
 11 We should bail out if m_clientCounts does not contain the contextId.
 12
1132020-06-30 Brent Fulgham <bfulgham@apple.com>
214
315 [macOS] Stop blocking two audio-related user client classes

Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm

@@void VideoFullscreenManagerProxy::addClientForContext(PlaybackSessionContextIden
458458
459459void VideoFullscreenManagerProxy::removeClientForContext(PlaybackSessionContextIdentifier contextId)
460460{
461  ASSERT(m_clientCounts.contains(contextId));
 461 if (!m_clientCounts.contains(contextId))
 462 return;
462463
463464 int clientCount = m_clientCounts.get(contextId);
464465 ASSERT(clientCount > 0);