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

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

Issue 2638593003: Allow pausing paused animations for testing (Closed)
Patch Set: Remove check Created 3 years, 11 months 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
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/pause-paused-animation-for-testing.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e6bfdee2737570851884cfbbf6e162572b7734f5..b015454e6f5eca7d982d953f19983cd8d66b120e 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -1080,7 +1080,6 @@ void Animation::addedEventListener(
}
void Animation::pauseForTesting(double pauseTime) {
- RELEASE_ASSERT(!paused());
setCurrentTimeInternal(pauseTime, TimingUpdateOnDemand);
if (hasActiveAnimationsOnCompositor())
toKeyframeEffectReadOnly(m_content.get())
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/pause-paused-animation-for-testing.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698