| Index: Source/core/dom/Comment.cpp
|
| diff --git a/Source/core/dom/Comment.cpp b/Source/core/dom/Comment.cpp
|
| index 03c5e98a70b82a6b208ce8159647d3335af346c4..de45810512b0ba2b5b4e3b1fa4b423037a4196f5 100644
|
| --- a/Source/core/dom/Comment.cpp
|
| +++ b/Source/core/dom/Comment.cpp
|
| @@ -37,6 +37,11 @@ PassRefPtrWillBeRawPtr<Comment> Comment::create(Document& document, const String
|
| return adoptRefWillBeNoop(new Comment(document, text));
|
| }
|
|
|
| +PassRefPtrWillBeRawPtr<Comment> Comment::create(ExecutionContext* executionContext, const String& data)
|
| +{
|
| + return create(*toDocument(executionContext), data);
|
| +}
|
| +
|
| String Comment::nodeName() const
|
| {
|
| return "#comment";
|
|
|