зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1367025 - Don't start throttling delay timers while suspended. r=bkelly
From c350a6db4069d1a33a21546a287714bfe07e0590 Mon Sep 17 00:00:00 2001 --- dom/base/TimeoutManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
Родитель
2dfe5d94b8
Коммит
32f9f451fa
|
@ -1579,7 +1579,7 @@ void
|
|||
TimeoutManager::MaybeStartThrottleTrackingTimout()
|
||||
{
|
||||
if (gTrackingTimeoutThrottlingDelay <= 0 ||
|
||||
mWindow.AsInner()->InnerObjectsFreed()) {
|
||||
mWindow.AsInner()->InnerObjectsFreed() || mWindow.IsSuspended()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче