Add WTF::move()
[WebKit-https.git] / Source / WebCore / rendering / RenderNamedFlowThread.cpp
index 7807ee9..cd039d6 100644 (file)
 namespace WebCore {
 
 RenderNamedFlowThread::RenderNamedFlowThread(Document& document, PassRef<RenderStyle> style, PassRef<WebKitNamedFlow> namedFlow)
-    : RenderFlowThread(document, std::move(style))
+    : RenderFlowThread(document, WTF::move(style))
     , m_hasRegionsWithStyling(false)
     , m_dispatchRegionOversetChangeEvent(false)
-    , m_namedFlow(std::move(namedFlow))
+    , m_namedFlow(WTF::move(namedFlow))
     , m_regionOversetChangeEventTimer(this, &RenderNamedFlowThread::regionOversetChangeEventTimerFired)
 {
 }
@@ -93,7 +93,7 @@ void RenderNamedFlowThread::updateWritingMode()
     // The first region defines the principal writing mode for the entire flow.
     auto newStyle = RenderStyle::clone(&style());
     newStyle.get().setWritingMode(firstFragment->style().writingMode());
-    setStyle(std::move(newStyle));
+    setStyle(WTF::move(newStyle));
 }
 
 RenderElement* RenderNamedFlowThread::nextRendererForElement(Element& element) const