aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-28 16:45:58 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-10-05 21:33:43 +0530
commit4f574b47321688a9ae637118d3c722f676f1ee40 (patch)
treef818c03b08bf0118b646b7697a7079e2c27b1bc2 /components/script/html/hubbub_html_parser.rs
parent8de00ab9995bbbce942b229aef2d3524d41d07f3 (diff)
downloadservo-4f574b47321688a9ae637118d3c722f676f1ee40.tar.gz
servo-4f574b47321688a9ae637118d3c722f676f1ee40.zip
Remove Traceable from characterdata.rs
Diffstat (limited to 'components/script/html/hubbub_html_parser.rs')
-rw-r--r--components/script/html/hubbub_html_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/html/hubbub_html_parser.rs b/components/script/html/hubbub_html_parser.rs
index 562d8b883fd..ee34cda888c 100644
--- a/components/script/html/hubbub_html_parser.rs
+++ b/components/script/html/hubbub_html_parser.rs
@@ -492,7 +492,7 @@ pub fn parse_html(page: &Page,
for child in scriptnode.children() {
debug!("child = {:?}", child);
let text: JSRef<Text> = TextCast::to_ref(child).unwrap();
- data.push_str(text.deref().characterdata.data.deref().borrow().as_slice());
+ data.push_str(text.deref().characterdata.data.borrow().as_slice());
}
debug!("script data = {:?}", data);