mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Mention #5681 in a TODO comment.
This commit is contained in:
parent
894b19526f
commit
9d26931910
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