Bug 1293567 - remove MaybeUpdateAnimationRule in nsAnimationManager. r?birtles draft
authorokudako <longsleeper@gmail.com>
Sat, 27 Aug 2016 14:28:24 +0900
changeset 406383 297ce7450ca3caa76d9fcc592d1f6b624c532d66
parent 406178 a65b35c8e5b17c2585968974aef1da67a8c56642
child 529642 9c6b678be44b61e32b8b7b109f08d04a19da5b40
push id27709
push userbmo:longsleeper@gmail.com
push dateSat, 27 Aug 2016 05:29:10 +0000
reviewersbirtles
bugs1293567
milestone51.0a1
Bug 1293567 - remove MaybeUpdateAnimationRule in nsAnimationManager. r?birtles MozReview-Commit-ID: 2Qdx7nk5fjL
layout/style/nsAnimationManager.cpp
--- 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();
   }
 }