Changeset 161416 in webkit
- Timestamp:
- Jan 7, 2014 2:06:16 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r161413 r161416 1 2014-01-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Crash when trying to register a custom scheme before network process has been launched 4 https://bugs.webkit.org/show_bug.cgi?id=126385 5 6 Reviewed by Anders Carlsson. 7 8 WebContext::registerSchemeForCustomProtocol() uses 9 sendToNetworkingProcess() to send the message to the appropriate 10 networking process. In the case of using web process, 11 sendToNetworkingProcess() first checks if there's already a web 12 process, doing nothing otherwise, but when using the network 13 process it assumes there's already a network process. In both 14 cases it's safe to do nothing, because the schemes will be passed 15 as creation parameters to the process when launched. 16 17 * UIProcess/WebContext.h: 18 (WebKit::WebContext::sendToNetworkingProcess): 19 1 20 2014-01-07 Jinwoo Song <jinwoo7.song@samsung.com> 2 21 -
trunk/Source/WebKit2/UIProcess/WebContext.h
r161309 r161416 513 513 #if ENABLE(NETWORK_PROCESS) 514 514 if (m_usesNetworkProcess) { 515 if (m_networkProcess ->canSendMessage())515 if (m_networkProcess && m_networkProcess->canSendMessage()) 516 516 m_networkProcess->send(std::forward<T>(message), 0); 517 517 return; … … 523 523 case ProcessModelMultipleSecondaryProcesses: 524 524 #if ENABLE(NETWORK_PROCESS) 525 if (m_networkProcess ->canSendMessage())525 if (m_networkProcess && m_networkProcess->canSendMessage()) 526 526 m_networkProcess->send(std::forward<T>(message), 0); 527 527 return;
Note: See TracChangeset
for help on using the changeset viewer.