<https://webkit.org/b/119998> [Qt] Build fix (broken since r154257).
[WebKit-https.git] / Source / WebCore / xml / parser / XMLDocumentParserQt.cpp
index e7d4901..eff263f 100644 (file)
@@ -499,7 +499,7 @@ void XMLDocumentParser::parseStartElement()
 
     pushCurrentNode(newElement.get());
     if (m_view && !newElement->attached())
-        newElement->attach();
+        Style::attachRenderTree(newElement.get());
 
     if (newElement->hasTagName(HTMLNames::htmlTag))
         static_cast<HTMLHtmlElement*>(newElement.get())->insertedByParser();