mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #5682 - Ms2ger:mention-5681, r=Manishearth
This commit is contained in:
commit
e2b43bd3a9
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ impl FramerateActor {
|
||||||
}
|
}
|
||||||
|
|
||||||
// callback on request animation frame
|
// callback on request animation frame
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn on_refresh_driver_tick(&mut self) {
|
pub fn on_refresh_driver_tick(&mut self) {
|
||||||
if !self.is_recording {
|
if !self.is_recording {
|
||||||
return;
|
return;
|
||||||
|
@ -67,7 +68,7 @@ impl FramerateActor {
|
||||||
self.is_recording = true;
|
self.is_recording = true;
|
||||||
self.start_time = Some(precise_time_ns());
|
self.start_time = Some(precise_time_ns());
|
||||||
|
|
||||||
// TODO: Need implement requesting animation frame
|
// TODO(#5681): Need implement requesting animation frame
|
||||||
// http://hg.mozilla.org/mozilla-central/file/0a46652bd992/dom/base/nsGlobalWindow.cpp#l5314
|
// http://hg.mozilla.org/mozilla-central/file/0a46652bd992/dom/base/nsGlobalWindow.cpp#l5314
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue