Changeset 281007 in webkit
- Timestamp:
- Aug 12, 2021, 8:58:52 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Media/cocoa/AudioSessionRoutingArbitratorProxyCocoa.mm (modified) (1 diff)
-
UIProcess/WebProcessProxy.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r280986 r281007 1 2021-08-12 Peng Liu <peng.liu6@apple.com> 2 3 REGRESSION (r280951): [ Big Sur ] TestWebKitAPI.AudioRoutingArbitration.Close is failing 4 https://bugs.webkit.org/show_bug.cgi?id=229040 5 6 Reviewed by Eric Carlson. 7 8 Function `AudioSessionRoutingArbitratorProxy::processDidTerminate()` should 9 be called only in the case that the corresponding WebContent process exits, 10 whereas `GPUProcessConnection::didClose()` (in WebContent process) deals with 11 the case that the GPU process crashes. 12 13 No new tests. Fix an API test failure. 14 15 * UIProcess/Media/cocoa/AudioSessionRoutingArbitratorProxyCocoa.mm: 16 (WebKit::AudioSessionRoutingArbitratorProxy::processDidTerminate): 17 * UIProcess/WebProcessProxy.cpp: 18 (WebKit::WebProcessProxy::gpuProcessExited): 19 1 20 2021-08-12 Wenson Hsieh <wenson_hsieh@apple.com> 2 21 -
trunk/Source/WebKit/UIProcess/Media/cocoa/AudioSessionRoutingArbitratorProxyCocoa.mm
r280951 r281007 53 53 void AudioSessionRoutingArbitratorProxy::processDidTerminate() 54 54 { 55 if (SharedRoutingArbitrator::sharedInstance().isInRoutingArbitrationForToken(m_token)) 56 endRoutingArbitration(); 55 57 } 56 58 -
trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp
r280811 r281007 821 821 for (auto& page : copyToVectorOf<RefPtr<WebPageProxy>>(m_pageMap.values())) 822 822 page->gpuProcessExited(reason); 823 824 #if ENABLE(ROUTING_ARBITRATION)825 m_routingArbitrator->processDidTerminate();826 #endif827 823 } 828 824 #endif
Note:
See TracChangeset
for help on using the changeset viewer.