Index: Source/core/xml/parser/XMLDocumentParser.cpp |
diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp |
index bf56989d43b4374b6a807dddbcd0212e768437d9..eb307ef43c55b213bdb9c460187d11dccf01db92 100644 |
--- a/Source/core/xml/parser/XMLDocumentParser.cpp |
+++ b/Source/core/xml/parser/XMLDocumentParser.cpp |
@@ -1178,7 +1178,7 @@ void XMLDocumentParser::comment(const String& text) |
exitText(); |
- RefPtr<Comment> newNode = Comment::create(&m_currentNode->document(), text); |
+ RefPtr<Comment> newNode = Comment::create(m_currentNode->document(), text); |
m_currentNode->parserAppendChild(newNode.get()); |
} |