[EFL][WK2] Use std::function in the rest of EFL's WorkQueue implementation
authorjinwoo7.song@samsung.com <jinwoo7.song@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Jan 2014 09:00:33 +0000 (09:00 +0000)
committerjinwoo7.song@samsung.com <jinwoo7.song@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Jan 2014 09:00:33 +0000 (09:00 +0000)
commit9ca38da12df6609c27589fec9b271da5d962f954
tree7357342f3a54abe811ea49b94cd12e9d4e270827
parentad757d5f81bf894cdbbdf8ca3fa353ada188138a
[EFL][WK2] Use std::function in the rest of EFL's WorkQueue implementation
https://bugs.webkit.org/show_bug.cgi?id=127397

Reviewed by Anders Carlsson.

Move to using std::function and move semantics in WorkQueue::registerSocketEventHandler
and DispatchQueue::setSocketEventHandler.

* Platform/IPC/unix/ConnectionUnix.cpp:
(IPC::Connection::open):
* Platform/WorkQueue.h:
* Platform/efl/DispatchQueueEfl.cpp:
(DispatchQueue::setSocketEventHandler):
* Platform/efl/DispatchQueueEfl.h:
* Platform/efl/WorkQueueEfl.cpp:
(WorkQueue::registerSocketEventHandler):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp
Source/WebKit2/Platform/WorkQueue.h
Source/WebKit2/Platform/efl/DispatchQueueEfl.cpp
Source/WebKit2/Platform/efl/DispatchQueueEfl.h
Source/WebKit2/Platform/efl/WorkQueueEfl.cpp