Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / html / parser / TextDocumentParser.cpp
index acd4b63..a3f5b2c 100644 (file)
@@ -40,7 +40,7 @@ void TextDocumentParser::append(RefPtr<StringImpl>&& text)
 {
     if (!m_haveInsertedFakePreElement)
         insertFakePreElement();
-    HTMLDocumentParser::append(WTF::move(text));
+    HTMLDocumentParser::append(WTFMove(text));
 }
 
 void TextDocumentParser::insertFakePreElement()
@@ -52,7 +52,7 @@ void TextDocumentParser::insertFakePreElement()
     // distrubing the line/column number calculations.
     Vector<Attribute> attributes;
     attributes.append(Attribute(styleAttr, "word-wrap: break-word; white-space: pre-wrap;"));
-    AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), WTF::move(attributes));
+    AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), WTFMove(attributes));
     treeBuilder().constructTree(fakePre);
 
     // Normally we would skip the first \n after a <pre> element, but we don't