diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-02 16:19:43 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-06 21:35:45 +0200 |
commit | 766010379e4c10d9cfaa9e319ec7c50bc30dfba5 (patch) | |
tree | 3b40321f4b877b3f48fb0f45e2a7f2756f970479 /components/script/dom/testbinding.rs | |
parent | 2f54022761b0b1251bb0b18fc367b568d1c4c4ac (diff) | |
download | servo-766010379e4c10d9cfaa9e319ec7c50bc30dfba5.tar.gz servo-766010379e4c10d9cfaa9e319ec7c50bc30dfba5.zip |
Introduce GlobalScope::as_window
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r-- | components/script/dom/testbinding.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/testbinding.rs b/components/script/dom/testbinding.rs index fdb20fc5114..eb3defbe6a5 100644 --- a/components/script/dom/testbinding.rs +++ b/components/script/dom/testbinding.rs @@ -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") } |