Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 8f1488628aacbb1d594082eb463420c3d5ec24e2..1c8599b52f219bdf75d5448434701176be1c0263 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" |
@@ -488,7 +487,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) |
@@ -501,8 +500,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); |
} |
} |