From e4bdcd3cfb2788ad0e7e2d97da9fadb70556eceb Mon Sep 17 00:00:00 2001 From: Brian Birtles Date: Thu, 3 Apr 2014 14:57:28 +0900 Subject: [PATCH] Bug 880596 part 5 - Make ElementAnimation::HasAnimationOfProperty no longer virtual; r=dbaron ElementAnimation::HasAnimationOfProperty doesn't seem to be overridden anywhere. I suspect it was a copy-paste mistake because the methods of the same name on ElementAnimations, ElementTransitions, and CommonElementAnimationData are virtual. --- layout/style/nsAnimationManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/style/nsAnimationManager.h b/layout/style/nsAnimationManager.h index 0479378fa9f..f758ce6a3ac 100644 --- a/layout/style/nsAnimationManager.h +++ b/layout/style/nsAnimationManager.h @@ -92,7 +92,7 @@ struct ElementAnimation return mPlayState == NS_STYLE_ANIMATION_PLAY_STATE_PAUSED; } - virtual bool HasAnimationOfProperty(nsCSSProperty aProperty) const; + bool HasAnimationOfProperty(nsCSSProperty aProperty) const; bool IsRunningAt(mozilla::TimeStamp aTime) const; // Return the duration, at aTime (or, if paused, mPauseStart), since