Index: third_party/WebKit/Source/core/animation/Animation.cpp |
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp |
index 758e2bc5ef68a04a992a474f1ad0a0b7cba1dc1c..5bfd50c07e0b5a022946330ec7f712dbaa71bc11 100644 |
--- a/third_party/WebKit/Source/core/animation/Animation.cpp |
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp |
@@ -894,8 +894,6 @@ void Animation::cancel() |
m_playState = Idle; |
m_startTime = nullValue(); |
m_currentTimePending = false; |
- |
- InspectorInstrumentation::didCancelAnimation(m_timeline->document(), m_sequenceNumber); |
} |
void Animation::beginUpdatingState() |
@@ -1057,8 +1055,8 @@ Animation::PlayStateUpdateScope::~PlayStateUpdateScope() |
} |
m_animation->endUpdatingState(); |
- if (oldPlayState != newPlayState && newPlayState == Running) |
- InspectorInstrumentation::didStartAnimation(m_animation->timeline()->document(), m_animation); |
+ if (oldPlayState != newPlayState) |
+ InspectorInstrumentation::animationPlayStateChanged(m_animation->timeline()->document(), m_animation, oldPlayState, newPlayState); |
} |
bool Animation::addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener> listener, const EventListenerOptions& options) |