Add WTF::move()
[WebKit-https.git] / Source / WebCore / rendering / style / ContentData.cpp
index b0c469b..e1f7d4e 100644 (file)
@@ -40,7 +40,7 @@ std::unique_ptr<ContentData> ContentData::clone() const
     ContentData* lastNewData = result.get();
     for (const ContentData* contentData = next(); contentData; contentData = contentData->next()) {
         auto newData = contentData->cloneInternal();
-        lastNewData->setNext(std::move(newData));
+        lastNewData->setNext(WTF::move(newData));
         lastNewData = lastNewData->next();
     }
         
@@ -52,14 +52,14 @@ RenderPtr<RenderObject> ImageContentData::createContentRenderer(Document& docume
     auto image = createRenderer<RenderImage>(document, RenderStyle::createStyleInheritingFromPseudoStyle(pseudoStyle), m_image.get());
     image->initializeStyle();
     image->setAltText(altText());
-    return std::move(image);
+    return WTF::move(image);
 }
 
 RenderPtr<RenderObject> TextContentData::createContentRenderer(Document& document, const RenderStyle&) const
 {
     auto fragment = createRenderer<RenderTextFragment>(document, m_text);
     fragment->setAltText(altText());
-    return std::move(fragment);
+    return WTF::move(fragment);
 }
 
 RenderPtr<RenderObject> CounterContentData::createContentRenderer(Document& document, const RenderStyle&) const
@@ -71,7 +71,7 @@ RenderPtr<RenderObject> QuoteContentData::createContentRenderer(Document& docume
 {
     auto quote = createRenderer<RenderQuote>(document, RenderStyle::createStyleInheritingFromPseudoStyle(pseudoStyle), m_quote);
     quote->initializeStyle();
-    return std::move(quote);
+    return WTF::move(quote);
 }
 
 } // namespace WebCore