Changeset 74355 in webkit


Ignore:
Timestamp:
Dec 20, 2010 10:54:18 AM (13 years ago)
Author:
andersca@apple.com
Message:

2010-12-20 Anders Carlsson <andersca@apple.com>

Unreviewed, rolling out r74345.
http://trac.webkit.org/changeset/74345
https://bugs.webkit.org/show_bug.cgi?id=51115

Not the correct fix.

  • Platform/CoreIPC/Connection.h:
  • Platform/CoreIPC/qt/ConnectionQt.cpp: (CoreIPC::Connection::open):
Location:
trunk/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r74345 r74355  
     12010-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
    1132010-12-20  Balazs Kelemen  <kbalazs@webkit.org>
    214
  • trunk/WebKit2/Platform/CoreIPC/Connection.h

    r74345 r74355  
    262262    // Called on the connection queue.
    263263    void readyReadHandler();
    264     void disconnectHandler();
    265264
    266265    Vector<uint8_t> m_readBuffer;
  • trunk/WebKit2/Platform/CoreIPC/qt/ConnectionQt.cpp

    r74345 r74355  
    8383}
    8484
    85 void Connection::disconnectHandler()
    86 {
    87     // The connection might have been explicitly invalidated on the listener thread.
    88     if (isValid())
    89         connectionDidClose();
    90 }
    91 
    9285bool Connection::open()
    9386{
     
    10699        m_connectionQueue.moveSocketToWorkThread(m_socket);
    107100        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));
    109102        m_isConnected = m_socket->waitForConnected();
    110103    }
Note: See TracChangeset for help on using the changeset viewer.