Replace WTF::move with WTFMove
[WebKit-https.git] / Source / JavaScriptCore / bindings / ScriptValue.cpp
index 02ef36e..3e560dc 100644 (file)
@@ -130,9 +130,9 @@ static RefPtr<InspectorValue> jsToInspectorValue(ExecState* scriptState, JSValue
                 RefPtr<InspectorValue> elementValue = jsToInspectorValue(scriptState, element, maxDepth);
                 if (!elementValue)
                     return nullptr;
-                inspectorArray->pushValue(WTF::move(elementValue));
+                inspectorArray->pushValue(WTFMove(elementValue));
             }
-            return WTF::move(inspectorArray);
+            return WTFMove(inspectorArray);
         }
         Ref<InspectorObject> inspectorObject = InspectorObject::create();
         JSObject* object = value.getObject();
@@ -144,9 +144,9 @@ static RefPtr<InspectorValue> jsToInspectorValue(ExecState* scriptState, JSValue
             RefPtr<InspectorValue> inspectorValue = jsToInspectorValue(scriptState, propertyValue, maxDepth);
             if (!inspectorValue)
                 return nullptr;
-            inspectorObject->setValue(name.string(), WTF::move(inspectorValue));
+            inspectorObject->setValue(name.string(), WTFMove(inspectorValue));
         }
-        return WTF::move(inspectorObject);
+        return WTFMove(inspectorObject);
     }
 
     ASSERT_NOT_REACHED();