Backed out changeset afcc70a5e871 (bug 1896762) for causing failures on css-transition-cross-document.html CLOSED TREE
This commit is contained in:
@@ -994,8 +994,8 @@ void PresShell::Init(nsPresContext* aPresContext, nsViewManager* aViewManager) {
|
||||
animCtrl->NotifyRefreshDriverCreated(GetPresContext()->RefreshDriver());
|
||||
}
|
||||
|
||||
for (DocumentTimeline* timelines : mDocument->Timelines()) {
|
||||
timelines->UpdateLastRefreshDriverTime();
|
||||
for (DocumentTimeline* timeline : mDocument->Timelines()) {
|
||||
timeline->NotifyRefreshDriverCreated(GetPresContext()->RefreshDriver());
|
||||
}
|
||||
|
||||
// Get our activeness from the docShell.
|
||||
@@ -1338,6 +1338,9 @@ void PresShell::Destroy() {
|
||||
if (mDocument->HasAnimationController()) {
|
||||
mDocument->GetAnimationController()->NotifyRefreshDriverDestroying(rd);
|
||||
}
|
||||
for (DocumentTimeline* timeline : mDocument->Timelines()) {
|
||||
timeline->NotifyRefreshDriverDestroying(rd);
|
||||
}
|
||||
}
|
||||
|
||||
if (mPresContext) {
|
||||
|
||||
Reference in New Issue
Block a user