Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / Modules / websockets / ThreadableWebSocketChannelClientWrapper.cpp
index 3ff998a..660fe78 100644 (file)
@@ -183,10 +183,10 @@ void ThreadableWebSocketChannelClientWrapper::didReceiveMessage(const String& me
 void ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData(Vector<char>&& binaryData)
 {
     ref();
-    Vector<char>* capturedData = new Vector<char>(WTF::move(binaryData));
+    Vector<char>* capturedData = new Vector<char>(WTFMove(binaryData));
     m_pendingTasks.append(std::make_unique<ScriptExecutionContext::Task>([this, capturedData] (ScriptExecutionContext&) {
         if (m_client)
-            m_client->didReceiveBinaryData(WTF::move(*capturedData));
+            m_client->didReceiveBinaryData(WTFMove(*capturedData));
         delete capturedData;
         deref();
     }));
@@ -276,7 +276,7 @@ void ThreadableWebSocketChannelClientWrapper::processPendingTasks()
         return;
     }
 
-    Vector<std::unique_ptr<ScriptExecutionContext::Task>> pendingTasks = WTF::move(m_pendingTasks);
+    Vector<std::unique_ptr<ScriptExecutionContext::Task>> pendingTasks = WTFMove(m_pendingTasks);
     for (auto& task : pendingTasks)
         task->performTask(*m_context);
 }