Replace WTF::move with WTFMove
[WebKit-https.git] / Source / JavaScriptCore / heap / HeapInlines.h
index f4acf25..7166489 100644 (file)
@@ -260,7 +260,7 @@ inline void Heap::ascribeOwner(JSCell* intendedOwner, void* storage)
 template <typename T>
 inline void Heap::releaseSoon(RetainPtr<T>&& object)
 {
-    m_delayedReleaseObjects.append(WTF::move(object));
+    m_delayedReleaseObjects.append(WTFMove(object));
 }
 #endif
 
@@ -300,7 +300,7 @@ inline HashSet<MarkedArgumentBuffer*>& Heap::markListSet()
 
 inline void Heap::registerWeakGCMap(void* weakGCMap, std::function<void()> pruningCallback)
 {
-    m_weakGCMaps.add(weakGCMap, WTF::move(pruningCallback));
+    m_weakGCMaps.add(weakGCMap, WTFMove(pruningCallback));
 }
 
 inline void Heap::unregisterWeakGCMap(void* weakGCMap)