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

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: Created 6 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
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);
}
}

Powered by Google App Engine
This is Rietveld 408576698