mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Privatize Comment
This commit is contained in:
parent
78fef7eec5
commit
e15f8cb37f
3 changed files with 9 additions and 3 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue