Index: Source/core/dom/Comment.h |
diff --git a/Source/core/dom/Comment.h b/Source/core/dom/Comment.h |
index ed2ce678557ca305c7c0ed54b8c035f76cba57f2..1a4987482c0b3283f724a208f284f592f9dde406 100644 |
--- a/Source/core/dom/Comment.h |
+++ b/Source/core/dom/Comment.h |
@@ -31,15 +31,10 @@ 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&); |
+ static PassRefPtr<Comment> create(Document&, const String&); |
private: |
- Comment(Document*, const String&); |
+ Comment(Document&, const String&); |
virtual String nodeName() const; |
virtual NodeType nodeType() const; |