diff options
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 3ca5515aeb9..3f657b2a755 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1469,7 +1469,7 @@ impl Node { }, CommentNodeTypeId => { let comment: JSRef<Comment> = CommentCast::to_ref(node).unwrap(); - let comment = Comment::new(comment.characterdata.data().clone(), *document); + let comment = Comment::new(comment.characterdata().data().clone(), *document); NodeCast::from_temporary(comment) }, DocumentNodeTypeId => { |