aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorTim Taubert <tim@timtaubert.de>2014-10-12 18:53:31 +0200
committerTim Taubert <tim@timtaubert.de>2014-10-13 11:13:12 +0200
commit9a52bb8310eb9d479a5211b0048bb682da0ac123 (patch)
tree63d43b597057dd5d17e3bf57b7b351d8c1aa525e /components/script/html/hubbub_html_parser.rs
parentacd98a73a4ea1aad96705c49ab960d9c87a38a28 (diff)
downloadservo-9a52bb8310eb9d479a5211b0048bb682da0ac123.tar.gz
servo-9a52bb8310eb9d479a5211b0048bb682da0ac123.zip
Privatize InheritTypes
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 4b943a4409a..27f37984517 100644
--- a/components/script/html/hubbub_html_parser.rs
+++ b/components/script/html/hubbub_html_parser.rs
@@ -503,7 +503,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.characterdata.data.borrow().as_slice());
+ data.push_str(text.characterdata().data().as_slice());
}
debug!("script data = {:?}", data);