aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-29 03:55:07 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-10-05 21:58:59 +0530
commit4f362ab5e6559a16af98e86d69eb64d0c6e5734c (patch)
treed37e290f0ae0e01e17d1ccbdd8132950bbe692b5 /components/script/dom/node.rs
parentad84dd7e4779350d0eb9d7ae170a3cf6e5fe2d00 (diff)
downloadservo-4f362ab5e6559a16af98e86d69eb64d0c6e5734c.tar.gz
servo-4f362ab5e6559a16af98e86d69eb64d0c6e5734c.zip
Remove Untraceable/Traceable from document.rs
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index ca4a682712b..c86c3215581 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -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(..) => {