mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make Performance Timeline API work in Workers
This commit is contained in:
parent
449ffb23ac
commit
fb843c251a
20 changed files with 146 additions and 128 deletions
|
@ -1586,7 +1586,7 @@ impl Document {
|
|||
|
||||
self.running_animation_callbacks.set(true);
|
||||
let was_faking_animation_frames = self.is_faking_animation_frames();
|
||||
let timing = self.window.Performance().Now();
|
||||
let timing = self.global().performance().Now();
|
||||
|
||||
for (_, callback) in animation_frame_list.drain(..) {
|
||||
if let Some(callback) = callback {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue