mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Introduce GlobalScope::as_window
This commit is contained in:
parent
2f54022761
commit
766010379e
22 changed files with 30 additions and 43 deletions
|
@ -750,7 +750,7 @@ impl TestBindingMethods for TestBinding {
|
|||
}
|
||||
|
||||
fn AdvanceClock(&self, ms: i32, tick: bool) {
|
||||
self.global().r().as_window().advance_animation_clock(ms, tick);
|
||||
self.global_scope().as_window().advance_animation_clock(ms, tick);
|
||||
}
|
||||
|
||||
fn Panic(&self) { panic!("explicit panic from script") }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue