diff options
Diffstat (limited to 'components/script/dom/comment.rs')
-rw-r--r-- | components/script/dom/comment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs index e2ac14ba2f5..a2c3c84a6a8 100644 --- a/components/script/dom/comment.rs +++ b/components/script/dom/comment.rs @@ -29,7 +29,7 @@ impl CommentDerived for EventTarget { } impl Comment { - pub fn new_inherited(text: DOMString, document: JSRef<Document>) -> Comment { + fn new_inherited(text: DOMString, document: JSRef<Document>) -> Comment { Comment { characterdata: CharacterData::new_inherited(CommentNodeTypeId, text, document) } |