mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
Source-Repo: https://github.com/servo/servo Source-Revision: e2b43bd3a9136cb90b8e64097e6098db01fca47f
This commit is contained in:
parent
836a4bf545
commit
6e30f9912d
@ -48,6 +48,7 @@ impl FramerateActor {
|
||||
}
|
||||
|
||||
// callback on request animation frame
|
||||
#[allow(dead_code)]
|
||||
pub fn on_refresh_driver_tick(&mut self) {
|
||||
if !self.is_recording {
|
||||
return;
|
||||
@ -67,7 +68,7 @@ impl FramerateActor {
|
||||
self.is_recording = true;
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user