Bug 1293567 - remove MaybeUpdateAnimationRule in nsAnimationManager. r?birtles
MozReview-Commit-ID: 2Qdx7nk5fjL
--- a/layout/style/nsAnimationManager.cpp
+++ b/layout/style/nsAnimationManager.cpp
@@ -438,22 +438,16 @@ nsAnimationManager::UpdateAnimations(nsS
}
collection->mAnimations.SwapElements(newAnimations);
// Cancel removed animations
for (size_t newAnimIdx = newAnimations.Length(); newAnimIdx-- != 0; ) {
newAnimations[newAnimIdx]->CancelFromStyle();
}
- mPresContext->EffectCompositor()->
- MaybeUpdateAnimationRule(aElement,
- aStyleContext->GetPseudoType(),
- EffectCompositor::CascadeLevel::Animations,
- aStyleContext);
-
// We don't actually dispatch the pending events now. We'll either
// dispatch them the next time we get a refresh driver notification
// or the next time somebody calls
// nsPresShell::FlushPendingNotifications.
if (mEventDispatcher.HasQueuedEvents()) {
mPresContext->Document()->SetNeedStyleFlush();
}
}