Title: [154048] trunk/Source/WebCore
Revision
154048
Author
[email protected]
Date
2013-08-14 07:49:21 -0700 (Wed, 14 Aug 2013)

Log Message

Try to fix Qt build.
        
Not reviewed.

* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::parseProcessingInstruction):
(WebCore::XMLDocumentParser::parseCdata):
(WebCore::XMLDocumentParser::parseComment):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (154047 => 154048)


--- trunk/Source/WebCore/ChangeLog	2013-08-14 14:02:59 UTC (rev 154047)
+++ trunk/Source/WebCore/ChangeLog	2013-08-14 14:49:21 UTC (rev 154048)
@@ -1,3 +1,14 @@
+2013-08-14  Antti Koivisto  <[email protected]>
+
+        Try to fix Qt build.
+        
+        Not reviewed.
+
+        * xml/parser/XMLDocumentParserQt.cpp:
+        (WebCore::XMLDocumentParser::parseProcessingInstruction):
+        (WebCore::XMLDocumentParser::parseCdata):
+        (WebCore::XMLDocumentParser::parseComment):
+
 2013-08-13  Antti Koivisto  <[email protected]>
 
         Remove Node::attach() and ContainerNode::attach()

Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp (154047 => 154048)


--- trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp	2013-08-14 14:02:59 UTC (rev 154047)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp	2013-08-14 14:49:21 UTC (rev 154048)
@@ -586,8 +586,6 @@
     pi->setCreatedByParser(true);
 
     m_currentNode->parserAppendChild(pi.get());
-    if (m_view && !pi->attached())
-        pi->attach();
 
     pi->finishParsingChildren();
 
@@ -608,7 +606,7 @@
 
     m_currentNode->parserAppendChild(newNode.get());
     if (m_view && !newNode->attached())
-        newNode->attach();
+        newNode->attachText();
 }
 
 void XMLDocumentParser::parseComment()
@@ -618,8 +616,6 @@
     RefPtr<Comment> newNode = Comment::create(document(), m_stream.text());
 
     m_currentNode->parserAppendChild(newNode.get());
-    if (m_view && !newNode->attached())
-        newNode->attach();
 }
 
 void XMLDocumentParser::endDocument()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to