mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Privatize InheritTypes
This commit is contained in:
parent
acd98a73a4
commit
9a52bb8310
80 changed files with 252 additions and 101 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue