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

Unified Diff: Source/core/dom/Document.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/dom/Comment.cpp ('k') | Source/core/dom/ProcessingInstruction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index ff2f890ca49cdb318687f5a403db912b2d27d163..c3fc9dbfdb8c70c85779133db6044efba2041189 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -806,7 +806,7 @@ PassRefPtr<Text> Document::createTextNode(const String& data)
PassRefPtr<Comment> Document::createComment(const String& data)
{
- return Comment::create(this, data);
+ return Comment::create(*this, data);
}
PassRefPtr<CDATASection> Document::createCDATASection(const String& data, ExceptionState& es)
@@ -832,7 +832,7 @@ PassRefPtr<ProcessingInstruction> Document::createProcessingInstruction(const St
es.throwDOMException(NotSupportedError);
return 0;
}
- return ProcessingInstruction::create(this, target, data);
+ return ProcessingInstruction::create(*this, target, data);
}
PassRefPtr<Text> Document::createEditingTextNode(const String& text)
« no previous file with comments | « Source/core/dom/Comment.cpp ('k') | Source/core/dom/ProcessingInstruction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698