mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Remove Untraceable/Traceable from document.rs
This commit is contained in:
parent
ad84dd7e47
commit
4f362ab5e6
3 changed files with 23 additions and 22 deletions
|
@ -1412,7 +1412,7 @@ impl Node {
|
|||
DocumentNodeTypeId => {
|
||||
let node_doc: JSRef<Document> = DocumentCast::to_ref(node).unwrap();
|
||||
let copy_doc: JSRef<Document> = DocumentCast::to_ref(*copy).unwrap();
|
||||
copy_doc.set_encoding_name(node_doc.encoding_name.deref().borrow().clone());
|
||||
copy_doc.set_encoding_name(node_doc.encoding_name.borrow().clone());
|
||||
copy_doc.set_quirks_mode(node_doc.quirks_mode());
|
||||
},
|
||||
ElementNodeTypeId(..) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue