git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Web Animations] Remove useless internals methods
[WebKit-https.git]
/
Source
/
WebCore
/
animation
/
DocumentTimeline.cpp
diff --git
a/Source/WebCore/animation/DocumentTimeline.cpp
b/Source/WebCore/animation/DocumentTimeline.cpp
index
e6d9a5d
..
687b9f2
100644
(file)
--- a/
Source/WebCore/animation/DocumentTimeline.cpp
+++ b/
Source/WebCore/animation/DocumentTimeline.cpp
@@
-144,7
+144,7
@@
unsigned DocumentTimeline::numberOfActiveAnimationsForTesting() const
std::optional<Seconds> DocumentTimeline::currentTime()
{
std::optional<Seconds> DocumentTimeline::currentTime()
{
- if (
m_paused ||
!m_document || !m_document->domWindow())
+ if (!m_document || !m_document->domWindow())
return AnimationTimeline::currentTime();
if (auto* mainDocumentTimeline = m_document->existingTimeline()) {
return AnimationTimeline::currentTime();
if (auto* mainDocumentTimeline = m_document->existingTimeline()) {
@@
-189,11
+189,6
@@
std::optional<Seconds> DocumentTimeline::currentTime()
return m_cachedCurrentTime.value() - m_originTime;
}
return m_cachedCurrentTime.value() - m_originTime;
}
-void DocumentTimeline::pause()
-{
- m_paused = true;
-}
-
void DocumentTimeline::timingModelDidChange()
{
if (m_needsUpdateAnimationSchedule || m_isSuspended)
void DocumentTimeline::timingModelDidChange()
{
if (m_needsUpdateAnimationSchedule || m_isSuspended)