| 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);
|
| }
|
| }
|
|
|
|
|