| Index: Source/core/animation/DocumentTimeline.h
|
| diff --git a/Source/core/animation/DocumentTimeline.h b/Source/core/animation/DocumentTimeline.h
|
| index a2bd963f0bda4d5263b09db30bdaeecfc90a2a07..4f0d7f12333464a344403dcc751c51a683a5656d 100644
|
| --- a/Source/core/animation/DocumentTimeline.h
|
| +++ b/Source/core/animation/DocumentTimeline.h
|
| @@ -31,7 +31,9 @@
|
| #ifndef DocumentTimeline_h
|
| #define DocumentTimeline_h
|
|
|
| +#include "core/animation/ActiveAnimations.h"
|
| #include "core/animation/Player.h"
|
| +#include "core/dom/Element.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/RefPtr.h"
|
| #include "wtf/Vector.h"
|
| @@ -50,6 +52,12 @@ public:
|
| PassRefPtr<Player> play(TimedItem*);
|
| double currentTime() { return m_currentTime; }
|
| void pauseAnimationsForTesting(double);
|
| + AnimationStack* animationStack(const Element* element) const
|
| + {
|
| + if (ActiveAnimations* animations = element->activeAnimations())
|
| + return animations->defaultStack();
|
| + return 0;
|
| + }
|
|
|
| private:
|
| DocumentTimeline(Document*);
|
|
|