зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1617111
, reduce the time forced to be used outside animation frame callbacks, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D67123 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c811449120
Коммит
368bfc5bf2
|
@ -741,7 +741,7 @@ class VsyncRefreshDriverTimer : public RefreshDriverTimer {
|
|||
// before use.
|
||||
if (mVsyncRefreshDriverTimer) {
|
||||
timeForOutsideTick = TimeDuration::FromMilliseconds(
|
||||
mVsyncRefreshDriverTimer->GetTimerRate().ToMilliseconds() / 10.0f);
|
||||
mVsyncRefreshDriverTimer->GetTimerRate().ToMilliseconds() / 100.0f);
|
||||
RefPtr<VsyncRefreshDriverTimer> timer = mVsyncRefreshDriverTimer;
|
||||
timer->RunRefreshDrivers(aId, aVsyncTimestamp);
|
||||
// Note: mVsyncRefreshDriverTimer might be null now.
|
||||
|
|
Загрузка…
Ссылка в новой задаче