| Index: Source/core/animation/DocumentTimeline.cpp
|
| diff --git a/Source/core/animation/DocumentTimeline.cpp b/Source/core/animation/DocumentTimeline.cpp
|
| index 0c91f0eb64ec9b7653b92390a4b2cf2afb8a1d26..63ce0b325db16235ec8df9e51cb4cba7e1316036 100644
|
| --- a/Source/core/animation/DocumentTimeline.cpp
|
| +++ b/Source/core/animation/DocumentTimeline.cpp
|
| @@ -71,6 +71,8 @@ void DocumentTimeline::serviceAnimations(double monotonicAnimationStartTime)
|
|
|
| if (m_document->view() && !m_players.isEmpty())
|
| m_document->view()->scheduleAnimation();
|
| +
|
| + dispatchEvents();
|
| }
|
|
|
| void DocumentTimeline::pauseAnimationsForTesting(double pauseTime)
|
| @@ -81,4 +83,11 @@ void DocumentTimeline::pauseAnimationsForTesting(double pauseTime)
|
| }
|
| }
|
|
|
| +void DocumentTimeline::dispatchEvents()
|
| +{
|
| + for (size_t i = 0; i < m_events.size(); i++)
|
| + m_events[i].target->dispatchEvent(m_events[i].event.release());
|
| + m_events.clear();
|
| +}
|
| +
|
| } // namespace
|
|
|