Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / Modules / mediastream / UserMediaRequest.cpp
index 3d4b5cb..0924dad 100644 (file)
@@ -88,7 +88,7 @@ void UserMediaRequest::start(Document* document, const Dictionary& options, Medi
         return;
     }
 
-    Ref<UserMediaRequest> request = adoptRef(*new UserMediaRequest(document, userMedia, audioConstraints.release(), videoConstraints.release(), WTF::move(promise)));
+    Ref<UserMediaRequest> request = adoptRef(*new UserMediaRequest(document, userMedia, audioConstraints.release(), videoConstraints.release(), WTFMove(promise)));
     request->start();
 }
 
@@ -97,7 +97,7 @@ UserMediaRequest::UserMediaRequest(ScriptExecutionContext* context, UserMediaCon
     , m_audioConstraints(audioConstraints)
     , m_videoConstraints(videoConstraints)
     , m_controller(controller)
-    , m_promise(WTF::move(promise))
+    , m_promise(WTFMove(promise))
 {
 }