mirror of
https://github.com/servo/servo.git
synced 2025-07-31 03:00:29 +01:00
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits (rebased)
This commit is contained in:
commit
82f39d5a1c
10 changed files with 24 additions and 11 deletions
|
@ -1703,7 +1703,7 @@ impl Node {
|
|||
let mut content = String::new();
|
||||
for node in iterator {
|
||||
match node.downcast::<Text>() {
|
||||
Some(text) => content.push_str(&text.upcast::<CharacterData>().Data()),
|
||||
Some(ref text) => content.push_str(&text.upcast::<CharacterData>().data()),
|
||||
None => (),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue