Changeset 74355 in webkit
- Timestamp:
- Dec 20, 2010 10:54:18 AM (13 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r74345 r74355 1 2010-12-20 Anders Carlsson <andersca@apple.com> 2 3 Unreviewed, rolling out r74345. 4 http://trac.webkit.org/changeset/74345 5 https://bugs.webkit.org/show_bug.cgi?id=51115 6 7 Not the correct fix. 8 9 * Platform/CoreIPC/Connection.h: 10 * Platform/CoreIPC/qt/ConnectionQt.cpp: 11 (CoreIPC::Connection::open): 12 1 13 2010-12-20 Balazs Kelemen <kbalazs@webkit.org> 2 14 -
trunk/WebKit2/Platform/CoreIPC/Connection.h
r74345 r74355 262 262 // Called on the connection queue. 263 263 void readyReadHandler(); 264 void disconnectHandler();265 264 266 265 Vector<uint8_t> m_readBuffer; -
trunk/WebKit2/Platform/CoreIPC/qt/ConnectionQt.cpp
r74345 r74355 83 83 } 84 84 85 void Connection::disconnectHandler()86 {87 // The connection might have been explicitly invalidated on the listener thread.88 if (isValid())89 connectionDidClose();90 }91 92 85 bool Connection::open() 93 86 { … … 106 99 m_connectionQueue.moveSocketToWorkThread(m_socket); 107 100 m_connectionQueue.connectSignal(m_socket, SIGNAL(readyRead()), WorkItem::create(this, &Connection::readyReadHandler)); 108 m_connectionQueue.connectSignal(m_socket, SIGNAL(disconnected()), WorkItem::create(this, &Connection:: disconnectHandler));101 m_connectionQueue.connectSignal(m_socket, SIGNAL(disconnected()), WorkItem::create(this, &Connection::connectionDidClose)); 109 102 m_isConnected = m_socket->waitForConnected(); 110 103 }
Note: See TracChangeset
for help on using the changeset viewer.