Changeset 276185 in webkit
- Timestamp:
- Apr 16, 2021, 5:38:02 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/GPU/media/RemoteRemoteCommandListener.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r276184 r276185 1 2021-04-16 Chris Dumez <cdumez@apple.com> 2 3 The RemoteRemoteCommandListener destructor should never (re-)launch the GPUProcess 4 https://bugs.webkit.org/show_bug.cgi?id=224701 5 6 Reviewed by Eric Carlson. 7 8 The RemoteRemoteCommandListener destructor should never (re-)launch the GPUProcess, 9 just to unregister itself. If the GPUProcess is not running, then the 10 RemoteRemoteCommandListener is not registered. 11 12 * WebProcess/GPU/media/RemoteRemoteCommandListener.cpp: 13 (WebKit::RemoteRemoteCommandListener::~RemoteRemoteCommandListener): 14 (WebKit::RemoteRemoteCommandListener::gpuProcessConnectionDidClose): 15 1 16 2021-04-16 Jiewen Tan <jiewen_tan@apple.com> 2 17 -
trunk/Source/WebKit/WebProcess/GPU/media/RemoteRemoteCommandListener.cpp
r273967 r276185 57 57 RemoteRemoteCommandListener::~RemoteRemoteCommandListener() 58 58 { 59 auto& connection = m_process.ensureGPUProcessConnection(); 60 connection.messageReceiverMap().removeMessageReceiver(*this); 61 connection.connection().send(Messages::GPUConnectionToWebProcess::ReleaseRemoteCommandListener(m_identifier), 0); 59 if (auto* gpuProcessConnection = m_process.existingGPUProcessConnection()) { 60 gpuProcessConnection->messageReceiverMap().removeMessageReceiver(*this); 61 gpuProcessConnection->connection().send(Messages::GPUConnectionToWebProcess::ReleaseRemoteCommandListener(m_identifier), 0); 62 } 62 63 } 63 64 64 65 void RemoteRemoteCommandListener::gpuProcessConnectionDidClose(GPUProcessConnection&) 65 66 { 67 // FIXME: Should this relaunch the GPUProcess and re-create the RemoteCommandListener? 66 68 } 67 69
Note:
See TracChangeset
for help on using the changeset viewer.