Bug 1415780 - Drop the comment for nsAnimationManager::DispatchEvents(). r?birtles
The comment is no longer correct since
bug 1180125.
MozReview-Commit-ID: A4NWgmwAOFt
--- a/layout/style/nsAnimationManager.h
+++ b/layout/style/nsAnimationManager.h
@@ -343,23 +343,16 @@ public:
* This function does the same thing as the above UpdateAnimations()
* but with servo's computed values.
*/
void UpdateAnimations(
mozilla::dom::Element* aElement,
mozilla::CSSPseudoElementType aPseudoType,
const mozilla::ServoStyleContext* aComputedValues);
- /**
- * Dispatch any pending events. We accumulate animationend and
- * animationiteration events only during refresh driver notifications
- * (and dispatch them at the end of such notifications), but we
- * accumulate animationstart events at other points when style
- * contexts are created.
- */
void DispatchEvents()
{
RefPtr<nsAnimationManager> kungFuDeathGrip(this);
mEventDispatcher.DispatchEvents(mPresContext);
}
// Utility function to walk through |aIter| to find the Keyframe with
// matching offset and timing function but stopping as soon as the offset