Changeset 139076 in webkit
- Timestamp:
- Jan 8, 2013 10:34:38 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r139066 r139076 1 2013-01-08 Sam Weinig <sam@webkit.org> 2 3 Remove dead Connection members in ChildProcess subclasses (and their users) 4 https://bugs.webkit.org/show_bug.cgi?id=106347 5 <rdar://problem/12973955> 6 7 Reviewed by Alexey Proskuryakov. 8 9 This also fixes a crash when entering fullscreen with a plug-in. 10 11 * PluginProcess/PluginProcess.h: 12 Remove dead m_connection member. 13 14 * PluginProcess/mac/PluginProcessMac.mm: 15 (WebKit::PluginProcess::setModalWindowIsShowing): 16 (WebKit::PluginProcess::setFullscreenWindowIsShowing): 17 Replace use of m_connection, which is dead, with parentProcessConnection(). 18 19 * SharedWorkerProcess/SharedWorkerProcess.h: 20 (SharedWorkerProcess): 21 Remove dead m_connection member. 22 23 * SharedWorkerProcess/SharedWorkerProcess.cpp: 24 (WebKit::SharedWorkerProcess::createWebProcessConnection): 25 Replace use of m_connection, which is dead, with parentProcessConnection(). 26 1 27 2013-01-07 Alexey Proskuryakov <ap@apple.com> 2 28 -
trunk/Source/WebKit2/PluginProcess/PluginProcess.h
r138913 r139076 96 96 void minimumLifetimeTimerFired(); 97 97 98 // The connection to the UI process.99 RefPtr<CoreIPC::Connection> m_connection;100 101 98 // Our web process connections. 102 99 Vector<RefPtr<WebProcessConnection> > m_webProcessConnections; -
trunk/Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm
r138981 r139076 292 292 void PluginProcess::setModalWindowIsShowing(bool modalWindowIsShowing) 293 293 { 294 m_connection->send(Messages::PluginProcessProxy::SetModalWindowIsShowing(modalWindowIsShowing), 0);294 parentProcessConnection()->send(Messages::PluginProcessProxy::SetModalWindowIsShowing(modalWindowIsShowing), 0); 295 295 } 296 296 297 297 void PluginProcess::setFullscreenWindowIsShowing(bool fullscreenWindowIsShowing) 298 298 { 299 m_connection->send(Messages::PluginProcessProxy::SetFullscreenWindowIsShowing(fullscreenWindowIsShowing), 0);299 parentProcessConnection()->send(Messages::PluginProcessProxy::SetFullscreenWindowIsShowing(fullscreenWindowIsShowing), 0); 300 300 } 301 301 -
trunk/Source/WebKit2/SharedWorkerProcess/SharedWorkerProcess.cpp
r138868 r139076 130 130 131 131 CoreIPC::Attachment clientPort(listeningPort, MACH_MSG_TYPE_MAKE_SEND); 132 m_connection->send(Messages::SharedWorkerProcessProxy::DidCreateWebProcessConnection(clientPort), 0);132 parentProcessConnection()->send(Messages::SharedWorkerProcessProxy::DidCreateWebProcessConnection(clientPort), 0); 133 133 #elif USE(UNIX_DOMAIN_SOCKETS) 134 134 int sockets[2]; … … 162 162 163 163 CoreIPC::Attachment clientSocket(sockets[0]); 164 m_connection->send(Messages::SharedWorkerProcessProxy::DidCreateWebProcessConnection(clientSocket), 0);164 parentProcessConnection()->send(Messages::SharedWorkerProcessProxy::DidCreateWebProcessConnection(clientSocket), 0); 165 165 #else 166 166 notImplemented(); -
trunk/Source/WebKit2/SharedWorkerProcess/SharedWorkerProcess.h
r138875 r139076 66 66 void minimumLifetimeTimerFired(); 67 67 68 // The connection to the UI process.69 RefPtr<CoreIPC::Connection> m_connection;70 71 68 // Our web process connections. 72 69 Vector<RefPtr<WebProcessConnection> > m_webProcessConnections;
Note: See TracChangeset
for help on using the changeset viewer.