| Index: Source/core/dom/Comment.h
|
| diff --git a/Source/core/dom/Comment.h b/Source/core/dom/Comment.h
|
| index affc4889d297b432f547ab4eba7718eff15ffd3e..ed2ce678557ca305c7c0ed54b8c035f76cba57f2 100644
|
| --- a/Source/core/dom/Comment.h
|
| +++ b/Source/core/dom/Comment.h
|
| @@ -31,6 +31,11 @@ class ScriptExecutionContext;
|
|
|
| class Comment FINAL : public CharacterData {
|
| public:
|
| + static PassRefPtr<Comment> create(Document& document, const String& text)
|
| + {
|
| + return create(&document, text);
|
| + }
|
| +
|
| static PassRefPtr<Comment> create(Document*, const String&);
|
|
|
| private:
|
|
|