Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / accessibility / AccessibilityObject.cpp
index 89fa5d7..29dfa05 100644 (file)
@@ -745,7 +745,7 @@ String AccessibilityObject::selectText(AccessibilitySelectTextCriteria* criteria
         closestBeforeStringRange = rangeOfStringClosestToRangeInDirection(selectedStringRange.get(), SearchDirectionPrevious, searchStrings);
     
     // Determine which candidate is closest to the selection and perform the activity.
-    if (RefPtr<Range> closestStringRange = rangeClosestToRange(selectedStringRange.get(), WTF::move(closestAfterStringRange), WTF::move(closestBeforeStringRange))) {
+    if (RefPtr<Range> closestStringRange = rangeClosestToRange(selectedStringRange.get(), WTFMove(closestAfterStringRange), WTFMove(closestBeforeStringRange))) {
         // If the search started within a text control, ensure that the result is inside that element.
         if (element() && element()->isTextFormControl()) {
             if (!closestStringRange->startContainer().isDescendantOrShadowDescendantOf(element()) || !closestStringRange->endContainer().isDescendantOrShadowDescendantOf(element()))