Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / page / scrolling / ScrollingThread.cpp
index 728879f..e73e876 100644 (file)
@@ -61,7 +61,7 @@ void ScrollingThread::dispatch(std::function<void ()> function)
 void ScrollingThread::dispatchBarrier(std::function<void ()> function)
 {
     dispatch([function]() mutable {
-        callOnMainThread(WTF::move(function));
+        callOnMainThread(WTFMove(function));
     });
 }
 
@@ -108,7 +108,7 @@ void ScrollingThread::dispatchFunctionsFromScrollingThread()
     
     {
         std::lock_guard<Lock> lock(m_functionsMutex);
-        functions = WTF::move(m_functions);
+        functions = WTFMove(m_functions);
     }
 
     for (auto& function : functions)