void ScriptExecutionContext::adjustMinimumTimerInterval(std::chrono::milliseconds oldMinimumTimerInterval) { if (minimumTimerInterval() != oldMinimumTimerInterval) { for (auto& timer : m_timeouts.values()) timer->updateTimerIntervalIfNecessary(); } }
void ScriptExecutionContext::adjustMinimumTimerInterval(double oldMinimumTimerInterval) { if (minimumTimerInterval() != oldMinimumTimerInterval) { for (auto& timer : m_timeouts.values()) timer->updateTimerIntervalIfNecessary(); } }
void ScriptExecutionContext::adjustMinimumTimerInterval(double oldMinimumTimerInterval) { if (minimumTimerInterval() != oldMinimumTimerInterval) { for (TimeoutMap::iterator iter = m_timeouts.begin(); iter != m_timeouts.end(); ++iter) { DOMTimer* timer = iter->second; timer->adjustMinimumTimerInterval(oldMinimumTimerInterval); } } }