Add WTF::move()
[WebKit-https.git] / Source / WebCore / crypto / mac / CryptoKeyRSAMac.cpp
index d1f31bc..25a156d 100644 (file)
@@ -251,8 +251,8 @@ void CryptoKeyRSA::generatePair(CryptoAlgorithmIdentifier algorithm, unsigned mo
     }
 
     // We only use the callback functions when back on the main thread, but captured variables are copied on a secondary thread too.
-    KeyPairCallback* localCallback = new KeyPairCallback(std::move(callback));
-    VoidCallback* localFailureCallback = new VoidCallback(std::move(failureCallback));
+    KeyPairCallback* localCallback = new KeyPairCallback(WTF::move(callback));
+    VoidCallback* localFailureCallback = new VoidCallback(WTF::move(failureCallback));
 
     dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
         CCRSACryptorRef ccPublicKey;