Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / platform / SharedBuffer.cpp
index 4a013bc..259779d 100644 (file)
@@ -86,7 +86,7 @@ SharedBuffer::SharedBuffer(const unsigned char* data, unsigned size)
 
 SharedBuffer::SharedBuffer(MappedFileData&& fileData)
     : m_buffer(adoptRef(new DataBuffer))
-    , m_fileData(WTF::move(fileData))
+    , m_fileData(WTFMove(fileData))
 {
 }
 
@@ -103,7 +103,7 @@ RefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePa
     if (!mappingSuccess)
         return SharedBuffer::createFromReadingFile(filePath);
 
-    return adoptRef(new SharedBuffer(WTF::move(mappedFileData)));
+    return adoptRef(new SharedBuffer(WTFMove(mappedFileData)));
 }
 
 PassRefPtr<SharedBuffer> SharedBuffer::adoptVector(Vector<char>& vector)
@@ -379,7 +379,7 @@ unsigned SharedBuffer::getSomeData(const char*& someData, unsigned position) con
 void SharedBuffer::maybeTransferMappedFileData()
 {
     if (m_fileData) {
-        auto fileData = WTF::move(m_fileData);
+        auto fileData = WTFMove(m_fileData);
         append(static_cast<const char*>(fileData.data()), fileData.size());
     }
 }