[Web Animations] Remove useless internals methods
[WebKit-https.git] / Source / WebCore / animation / AnimationTimeline.cpp
index 936ea2c..19c1001 100644 (file)
@@ -77,12 +77,6 @@ std::optional<double> AnimationTimeline::bindingsCurrentTime()
     return secondsToWebAnimationsAPITime(*time);
 }
 
-void AnimationTimeline::setCurrentTime(Seconds currentTime)
-{
-    m_currentTime = currentTime;
-    timingModelDidChange();
-}
-
 HashMap<Element*, ListHashSet<RefPtr<WebAnimation>>>& AnimationTimeline::relevantMapForAnimation(WebAnimation& animation)
 {
     if (animation.isCSSAnimation())
@@ -478,19 +472,4 @@ void AnimationTimeline::cancelOrRemoveDeclarativeAnimation(RefPtr<DeclarativeAni
     removeAnimation(animation.releaseNonNull());
 }
 
-String AnimationTimeline::description()
-{
-    TextStream stream;
-    int count = 1;
-    stream << (m_classType == DocumentTimelineClass ? "DocumentTimeline" : "AnimationTimeline") << " with " << m_animations.size() << " animations:";
-    stream << "\n";
-    for (const auto& animation : m_animations) {
-        writeIndent(stream, 1);
-        stream << count << ". " << animation->description();
-        stream << "\n";
-        count++;
-    }
-    return stream.release();
-}
-
 } // namespace WebCore