Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: third_party/WebKit/Source/core/animation/Animation.cpp

Issue 1433623002: Devtools Animations: Don't wait for empty transitions to start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 734c9f9a60dcb9c16051db1f5a506498d794385d..758e2bc5ef68a04a992a474f1ad0a0b7cba1dc1c 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -894,6 +894,8 @@ void Animation::cancel()
m_playState = Idle;
m_startTime = nullValue();
m_currentTimePending = false;
+
+ InspectorInstrumentation::didCancelAnimation(m_timeline->document(), m_sequenceNumber);
}
void Animation::beginUpdatingState()

Powered by Google App Engine
This is Rietveld 408576698