Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / editing / ios / EditorIOS.mm
index 5ce98bb..12a1371 100644 (file)
@@ -496,7 +496,7 @@ bool Editor::WebContentReader::readURL(const URL& url, const String&)
         anchor->appendChild(frame.document()->createTextNode([[(NSURL *)url absoluteString] precomposedStringWithCanonicalMapping]));
 
         RefPtr<DocumentFragment> newFragment = frame.document()->createDocumentFragment();
-        newFragment->appendChild(WTF::move(anchor));
+        newFragment->appendChild(WTFMove(anchor));
         addFragment(newFragment);
         return true;
     }
@@ -589,7 +589,7 @@ PassRefPtr<DocumentFragment> Editor::createFragmentForImageResourceAndAddResourc
     imageElement->setAttribute(HTMLNames::srcAttr, [URL isFileURL] ? [URL absoluteString] : resource->url());
 
     RefPtr<DocumentFragment> fragment = m_frame.document()->createDocumentFragment();
-    fragment->appendChild(WTF::move(imageElement));
+    fragment->appendChild(WTFMove(imageElement));
 
     return fragment.release();
 }