Index: Source/core/animation/DocumentTimeline.cpp |
diff --git a/Source/core/animation/DocumentTimeline.cpp b/Source/core/animation/DocumentTimeline.cpp |
index 0f6ef5854cddc64a8ed317ee8fe7fa6ec17cffec..681d9ff382aa2d6f257a5958c0294b4e5f8780cf 100644 |
--- a/Source/core/animation/DocumentTimeline.cpp |
+++ b/Source/core/animation/DocumentTimeline.cpp |
@@ -52,7 +52,6 @@ PassRefPtr<DocumentTimeline> DocumentTimeline::create(Document* document, PassOw |
DocumentTimeline::DocumentTimeline(Document* document, PassOwnPtr<PlatformTiming> timing) |
: m_zeroTime(nullValue()) |
, m_document(document) |
- , m_eventDistpachTimer(this, &DocumentTimeline::eventDispatchTimerFired) |
{ |
if (!timing) |
m_timing = adoptPtr(new DocumentTimelineTiming(this)); |
@@ -161,26 +160,6 @@ void DocumentTimeline::setOutdatedPlayer(Player* player) |
m_timing->serviceOnNextFrame(); |
} |
-void DocumentTimeline::dispatchEvents() |
-{ |
- Vector<EventToDispatch> events = m_events; |
- m_events.clear(); |
- for (size_t i = 0; i < events.size(); i++) |
- events[i].target->dispatchEvent(events[i].event.release()); |
-} |
- |
-void DocumentTimeline::dispatchEventsAsync() |
-{ |
- if (m_events.isEmpty() || m_eventDistpachTimer.isActive()) |
- return; |
- m_eventDistpachTimer.startOneShot(0); |
-} |
- |
-void DocumentTimeline::eventDispatchTimerFired(Timer<DocumentTimeline>*) |
-{ |
- dispatchEvents(); |
-} |
- |
size_t DocumentTimeline::numberOfActiveAnimationsForTesting() const |
{ |
if (isNull(m_zeroTime)) |