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 40d9a5da9b6..8d81c47f978 100644 --- a/components/script/dom/comment.rs +++ b/components/script/dom/comment.rs @@ -38,7 +38,7 @@ impl Comment { document, CommentBinding::Wrap) } - pub fn Constructor(global: &GlobalRef, data: DOMString) -> Fallible<Temporary<Comment>> { + pub fn Constructor(global: GlobalRef, data: DOMString) -> Fallible<Temporary<Comment>> { let document = global.as_window().Document().root(); Ok(Comment::new(data, document.r())) } |