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) |