Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / bindings / js / JSCryptoKeySerializationJWK.cpp
index a120c92..034047d 100644 (file)
@@ -152,7 +152,7 @@ static std::unique_ptr<CryptoAlgorithmParameters> createHMACParameters(CryptoAlg
 {
     std::unique_ptr<CryptoAlgorithmHmacParams> hmacParameters = std::make_unique<CryptoAlgorithmHmacParams>();
     hmacParameters->hash = hashFunction;
-    return WTF::move(hmacParameters);
+    return WTFMove(hmacParameters);
 }
 
 static std::unique_ptr<CryptoAlgorithmParameters> createRSAKeyParametersWithHash(CryptoAlgorithmIdentifier hashFunction)
@@ -160,7 +160,7 @@ static std::unique_ptr<CryptoAlgorithmParameters> createRSAKeyParametersWithHash
     std::unique_ptr<CryptoAlgorithmRsaKeyParamsWithHash> rsaKeyParameters = std::make_unique<CryptoAlgorithmRsaKeyParamsWithHash>();
     rsaKeyParameters->hasHash = true;
     rsaKeyParameters->hash = hashFunction;
-    return WTF::move(rsaKeyParameters);
+    return WTFMove(rsaKeyParameters);
 }
 
 bool JSCryptoKeySerializationJWK::reconcileAlgorithm(std::unique_ptr<CryptoAlgorithm>& suggestedAlgorithm, std::unique_ptr<CryptoAlgorithmParameters>& suggestedParameters) const
@@ -221,8 +221,8 @@ bool JSCryptoKeySerializationJWK::reconcileAlgorithm(std::unique_ptr<CryptoAlgor
     }
 
     if (!suggestedAlgorithm) {
-        suggestedAlgorithm = WTF::move(algorithm);
-        suggestedParameters =  WTF::move(parameters);
+        suggestedAlgorithm = WTFMove(algorithm);
+        suggestedParameters =  WTFMove(parameters);
         return true;
     }