Commit 74765e5a authored by fs's avatar fs Committed by Commit bot

Don't schedule a wake-up if the timeline hasn't started

Before the timeline has started we shouldn't update animations. This
makes resume() symmetric with pause().

BUG=631879

Review-Url: https://codereview.chromium.org/2254303005
Cr-Commit-Position: refs/heads/master@{#413336}
parent 3ab8e7ed
......@@ -214,9 +214,10 @@ void SMILTimeContainer::resume()
m_paused = false;
if (isStarted())
synchronizeToDocumentTimeline();
if (!isStarted())
return;
synchronizeToDocumentTimeline();
scheduleWakeUp(0, SynchronizeAnimations);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment