mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
Remove Traceable from characterdata.rs
This commit is contained in:
parent
8de00ab999
commit
4f574b4732
6 changed files with 27 additions and 28 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue