Skip to content
  • andersca@apple.com's avatar
    Replace a couple of uses of WTF::Function with std::function · 014a9151
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=127218
    
    Reviewed by Andreas Kling.
    
    Source/WebCore:
    
    * WebCore.exp.in:
    * page/scrolling/ScrollingThread.cpp:
    (WebCore::ScrollingThread::dispatch):
    (WebCore::ScrollingThread::dispatchBarrier):
    (WebCore::ScrollingThread::shared):
    (WebCore::ScrollingThread::createThreadIfNeeded):
    (WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
    * page/scrolling/ScrollingThread.h:
    * page/scrolling/mac/ScrollingThreadMac.mm:
    (WebCore::ScrollingThread::initializeRunLoop):
    
    Source/WebKit2:
    
    * Platform/IPC/mac/ConnectionMac.cpp:
    (IPC::createDataAvailableSource):
    * Platform/WorkQueue.h:
    * Platform/mac/WorkQueueMac.cpp:
    (WorkQueue::dispatch):
    (WorkQueue::dispatchAfter):
    * Shared/ChildProcess.cpp:
    (WebKit::didCloseOnConnectionWorkQueue):
    * UIProcess/Storage/LocalStorageDatabase.cpp:
    (WebKit::LocalStorageDatabase::scheduleDatabaseUpdate):
    * WebProcess/WebPage/DrawingArea.cpp:
    (WebKit::DrawingArea::dispatchAfterEnsuringUpdatedScrollPosition):
    * WebProcess/WebPage/DrawingArea.h:
    * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
    * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
    (WebKit::TiledCoreAnimationDrawingArea::dispatchAfterEnsuringUpdatedScrollPosition):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    014a9151