<https://webkit.org/b/119998> [Qt] Build fix (broken since r154257).
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Aug 2013 09:56:16 +0000 (09:56 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Aug 2013 09:56:16 +0000 (09:56 +0000)
Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-08-19
Reviewed by Andreas Kling.

Element::attach() doesn't exist anymore since r154257.

* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::parseStartElement):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154269 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/xml/parser/XMLDocumentParserQt.cpp

index c7c5be0..e9b9e4f 100644 (file)
@@ -1,3 +1,14 @@
+2013-08-19  Julien Brianceau  <jbrianceau@nds.com>
+
+        <https://webkit.org/b/119998> [Qt] Build fix (broken since r154257).
+
+        Reviewed by Andreas Kling.
+
+        Element::attach() doesn't exist anymore since r154257.
+
+        * xml/parser/XMLDocumentParserQt.cpp:
+        (WebCore::XMLDocumentParser::parseStartElement):
+
 2013-08-19  Antti Koivisto  <antti@apple.com>
 
         <https://webkit.org/b/120001> Clean up StyleElement
 2013-08-19  Antti Koivisto  <antti@apple.com>
 
         <https://webkit.org/b/120001> Clean up StyleElement
index e7d4901..eff263f 100644 (file)
@@ -499,7 +499,7 @@ void XMLDocumentParser::parseStartElement()
 
     pushCurrentNode(newElement.get());
     if (m_view && !newElement->attached())
 
     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();
 
     if (newElement->hasTagName(HTMLNames::htmlTag))
         static_cast<HTMLHtmlElement*>(newElement.get())->insertedByParser();