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

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

Issue 2222313002: Implement DocumentTimeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update global-interface-listing-expected.txt Created 4 years, 4 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
Index: third_party/WebKit/Source/core/animation/AnimationTimelineTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimelineTest.cpp b/third_party/WebKit/Source/core/animation/AnimationTimelineTest.cpp
index e3912b3e15d5797f4a05f6285efa844a23de4015..976c1d878ed6d1d1839ba0351ae43edec8f0b632 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimelineTest.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTimelineTest.cpp
@@ -339,20 +339,6 @@ TEST_F(AnimationAnimationTimelineTest, DelayBeforeAnimationStart)
updateClockAndService(4.98);
}
-TEST_F(AnimationAnimationTimelineTest, PlayAfterDocumentDeref)
-{
- timing.iterationDuration = 2;
- timing.startDelay = 5;
-
- timeline = &document->timeline();
- element = nullptr;
- document = nullptr;
-
- KeyframeEffect* keyframeEffect = KeyframeEffect::create(0, nullptr, timing);
- // Test passes if this does not crash.
- timeline->play(keyframeEffect);
-}
-
TEST_F(AnimationAnimationTimelineTest, UseAnimationAfterTimelineDeref)
{
Animation* animation = timeline->play(0);

Powered by Google App Engine
This is Rietveld 408576698