mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Remove Untraceable/Traceable from document.rs
This commit is contained in:
@@ -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(..) => {
|
||||
|
||||
Reference in New Issue
Block a user