2010-07-12 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2010 00:37:51 +0000 (00:37 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2010 00:37:51 +0000 (00:37 +0000)
commit289587d53fcaa82325be168932381b2920f74e14
tree6237bab74ad3104587451d13474c29efbe90fe9c
parent7a1439ad5e105faa2163714332c125943e0810b9
2010-07-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Anders Carlsson.

        Get rid of auto_ptr use in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42119

        Replace all use of auto_ptr with OwnPtr/PassOwnPtr.

        * Platform/CoreIPC/Connection.cpp:
        (CoreIPC::Connection::sendMessage):
        (CoreIPC::Connection::waitForMessage):
        (CoreIPC::Connection::sendSyncMessage):
        (CoreIPC::Connection::processIncomingMessage):
        (CoreIPC::Connection::sendOutgoingMessages):
        (CoreIPC::Connection::dispatchMessages):
        * Platform/CoreIPC/Connection.h:
        (CoreIPC::Connection::Message::Message):
        (CoreIPC::Connection::send):
        (CoreIPC::Connection::sendSync):
        (CoreIPC::Connection::waitFor):
        * Platform/CoreIPC/mac/ConnectionMac.cpp:
        (CoreIPC::Connection::sendOutgoingMessage):
        (CoreIPC::createArgumentDecoder):
        (CoreIPC::Connection::receiveSourceEventHandler):
        * Platform/CoreIPC/qt/ConnectionQt.cpp:
        (CoreIPC::Connection::readyReadHandler):
        (CoreIPC::Connection::sendOutgoingMessage):
        * Platform/CoreIPC/win/ConnectionWin.cpp:
        (CoreIPC::Connection::readEventHandler):
        (CoreIPC::Connection::sendOutgoingMessage):
        * Platform/RunLoop.cpp:
        (RunLoop::performWork):
        (RunLoop::scheduleWork):
        * Platform/RunLoop.h:
        * Platform/WorkItem.h:
        (WorkItem::create):
        * Platform/WorkQueue.h:
        * Platform/mac/WorkQueueMac.cpp:
        (WorkQueue::executeWorkItem):
        (WorkQueue::scheduleWork):
        (WorkQueue::EventSource::EventSource):
        (WorkQueue::registerMachPortEventHandler):
        * Platform/qt/WorkQueueQt.cpp:
        (WorkQueue::connectSignal):
        (WorkQueue::scheduleWork):
        * Platform/win/WorkQueueWin.cpp:
        (WorkQueue::registerHandle):
        (WorkQueue::scheduleWork):
        (WorkQueue::performWork):
        * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
        (WebKit::ChunkedUpdateDrawingAreaProxy::paint):
        * UIProcess/WebProcessProxy.cpp:
        (WebKit::WebProcessProxy::sendMessage):
        (WebKit::WebProcessProxy::didFinishLaunching):
        * UIProcess/WebProcessProxy.h:
        (WebKit::WebProcessProxy::send):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
WebKit2/ChangeLog
WebKit2/Platform/CoreIPC/Connection.cpp
WebKit2/Platform/CoreIPC/Connection.h
WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
WebKit2/Platform/CoreIPC/qt/ConnectionQt.cpp
WebKit2/Platform/CoreIPC/win/ConnectionWin.cpp
WebKit2/Platform/RunLoop.cpp
WebKit2/Platform/RunLoop.h
WebKit2/Platform/WorkItem.h
WebKit2/Platform/WorkQueue.h
WebKit2/Platform/mac/WorkQueueMac.cpp
WebKit2/Platform/qt/WorkQueueQt.cpp
WebKit2/Platform/win/WorkQueueWin.cpp
WebKit2/UIProcess/ChunkedUpdateDrawingAreaProxy.cpp
WebKit2/UIProcess/WebProcessProxy.cpp
WebKit2/UIProcess/WebProcessProxy.h