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

Unified Diff: Source/core/testing/Internals.cpp

Issue 139273007: Web Animations: Remove legacy animations engine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix TestExpectations. Created 6 years, 10 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: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 3b6ee626ee84df69b879694fc88184c5e5c109a4..be780e912e6c1f40b465dd737325930fce96c19e 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -104,7 +104,6 @@
#include "core/page/PagePopupController.h"
#include "core/page/PrintContext.h"
#include "core/frame/Settings.h"
-#include "core/frame/animation/AnimationController.h"
#include "core/rendering/CompositedLayerMapping.h"
#include "core/rendering/RenderLayer.h"
#include "core/rendering/RenderLayerCompositor.h"
@@ -477,7 +476,7 @@ unsigned Internals::numberOfActiveAnimations() const
Document* document = contextFrame->document();
if (RuntimeEnabledFeatures::webAnimationsCSSEnabled())
return document->timeline()->numberOfActiveAnimationsForTesting() + document->transitionTimeline()->numberOfActiveAnimationsForTesting();
- return contextFrame->animation().numberOfActiveAnimations(document);
+ return 0;
}
void Internals::pauseAnimations(double pauseTime, ExceptionState& exceptionState)
@@ -490,8 +489,6 @@ void Internals::pauseAnimations(double pauseTime, ExceptionState& exceptionState
if (RuntimeEnabledFeatures::webAnimationsCSSEnabled()) {
frame()->document()->timeline()->pauseAnimationsForTesting(pauseTime);
frame()->document()->transitionTimeline()->pauseAnimationsForTesting(pauseTime);
- } else {
- frame()->animation().pauseAnimationsForTesting(pauseTime);
}
}
« no previous file with comments | « Source/core/rendering/animation/WebAnimationProvider.cpp ('k') | Tools/Scripts/webkitpy/layout_tests/port/base.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698