| Index: Source/core/animation/TimedItem.h
|
| diff --git a/Source/core/animation/TimedItem.h b/Source/core/animation/TimedItem.h
|
| index 6dbb66c2c36cbe288b29c85d3ef8d68501765dfc..c0dd3d461698b02fb5906440254df5fcf0de98c3 100644
|
| --- a/Source/core/animation/TimedItem.h
|
| +++ b/Source/core/animation/TimedItem.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef TimedItem_h
|
| #define TimedItem_h
|
|
|
| +#include "core/animation/TimedItemTiming.h"
|
| #include "core/animation/Timing.h"
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| @@ -82,12 +83,13 @@ public:
|
| double activeDuration() const;
|
| double timeFraction() const { return ensureCalculated().timeFraction; }
|
| double startTime() const { return m_startTime; }
|
| - double endTime() const { return startTime() + specified().startDelay + activeDuration(); }
|
| + double endTime() const { return startTime() + specifiedTiming().startDelay + activeDuration(); }
|
|
|
| const Player* player() const { return m_player; }
|
| Player* player() { return m_player; }
|
| Player* player(bool& isNull) { isNull = !m_player; return m_player; }
|
| - const Timing& specified() const { return m_specified; }
|
| + const Timing& specifiedTiming() const { return m_specified; }
|
| + PassRefPtr<TimedItemTiming> specified() { return TimedItemTiming::create(this); }
|
|
|
| protected:
|
| TimedItem(const Timing&, PassOwnPtr<EventDelegate> = nullptr);
|
|
|