Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1663)

Unified Diff: Source/core/xml/parser/XMLDocumentParser.cpp

Issue 23754005: Have CharacterData constructor take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/track/WebVTTParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « Source/core/html/track/WebVTTParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698