| Index: Source/core/dom/Comment.cpp
|
| diff --git a/Source/core/dom/Comment.cpp b/Source/core/dom/Comment.cpp
|
| index 5b8374f99f16177cc065286c5e066574535247cc..eb525bd2542ce2075e7de6ffbd82b0d06438fc0d 100644
|
| --- a/Source/core/dom/Comment.cpp
|
| +++ b/Source/core/dom/Comment.cpp
|
| @@ -37,6 +37,11 @@ PassRefPtr<Comment> Comment::create(Document* document, const String& text)
|
| return adoptRef(new Comment(document, text));
|
| }
|
|
|
| +PassRefPtr<Comment> Comment::create(ScriptExecutionContext* context, const String& text)
|
| +{
|
| + return adoptRef(new Comment(toDocument(context), text));
|
| +}
|
| +
|
| String Comment::nodeName() const
|
| {
|
| return commentAtom.string();
|
|
|