Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 738eddf2426929fc95e6de86375d3c7f6d292265..7c0138a1cca5584e72a9c800fed4e2d317f5ccf1 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -476,7 +476,7 @@ unsigned Internals::numberOfActiveAnimations() const |
{ |
LocalFrame* contextFrame = frame(); |
Document* document = contextFrame->document(); |
- return document->timeline()->numberOfActiveAnimationsForTesting() + document->transitionTimeline()->numberOfActiveAnimationsForTesting(); |
+ return document->timeline().numberOfActiveAnimationsForTesting() + document->transitionTimeline().numberOfActiveAnimationsForTesting(); |
} |
void Internals::pauseAnimations(double pauseTime, ExceptionState& exceptionState) |
@@ -487,8 +487,8 @@ void Internals::pauseAnimations(double pauseTime, ExceptionState& exceptionState |
} |
frame()->view()->updateLayoutAndStyleForPainting(); |
- frame()->document()->timeline()->pauseAnimationsForTesting(pauseTime); |
- frame()->document()->transitionTimeline()->pauseAnimationsForTesting(pauseTime); |
+ frame()->document()->timeline().pauseAnimationsForTesting(pauseTime); |
+ frame()->document()->transitionTimeline().pauseAnimationsForTesting(pauseTime); |
} |
bool Internals::hasShadowInsertionPoint(const Node* root, ExceptionState& exceptionState) const |