| Index: Source/core/animation/css/CSSAnimations.cpp
|
| diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp
|
| index dd999341890b0b4a09557c0c86e5189d86e62abd..f2d984ec0e741059dd33c9fd4ca4a41d6b56cb34 100644
|
| --- a/Source/core/animation/css/CSSAnimations.cpp
|
| +++ b/Source/core/animation/css/CSSAnimations.cpp
|
| @@ -329,6 +329,7 @@ void CSSAnimations::maybeApplyPendingUpdate(Element* element)
|
| const InertAnimation* inertAnimation = iter->animation.get();
|
| OwnPtrWillBeRawPtr<AnimationEventDelegate> eventDelegate = adoptPtrWillBeNoop(new AnimationEventDelegate(element, iter->name));
|
| RefPtrWillBeRawPtr<Animation> animation = Animation::create(element, inertAnimation->effect(), inertAnimation->specifiedTiming(), Animation::DefaultPriority, eventDelegate.release());
|
| + animation->setName(inertAnimation->name());
|
| RefPtrWillBeRawPtr<AnimationPlayer> player = element->document().timeline().createAnimationPlayer(animation.get());
|
| if (inertAnimation->paused())
|
| player->pause();
|
| @@ -390,6 +391,7 @@ void CSSAnimations::maybeApplyPendingUpdate(Element* element)
|
| }
|
|
|
| RefPtrWillBeRawPtr<Animation> transition = Animation::create(element, effect, inertAnimation->specifiedTiming(), Animation::TransitionPriority, eventDelegate.release());
|
| + transition->setName(inertAnimation->name());
|
| RefPtrWillBeRawPtr<AnimationPlayer> player = element->document().timeline().createAnimationPlayer(transition.get());
|
| player->update(TimingUpdateOnDemand);
|
| runningTransition.player = player;
|
|
|