From d1148caa7508d598144c31491830a892acc87521 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Tue, 8 Sep 2015 09:33:46 +0530 Subject: [PATCH] Backed out changeset ad5763672ad2 (bug 1194037) for Mochitest other bustage --- dom/animation/KeyframeEffect.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dom/animation/KeyframeEffect.h b/dom/animation/KeyframeEffect.h index b08cad066aa..2d5b13e1e14 100644 --- a/dom/animation/KeyframeEffect.h +++ b/dom/animation/KeyframeEffect.h @@ -168,20 +168,13 @@ struct AnimationProperty // **NOTE**: For CSS animations, we only bother setting mWinsInCascade // accurately for properties that we can animate on the compositor. // For other properties, we make it always be true. - // **NOTE 2**: This member is not included when comparing AnimationProperty - // objects for equality. bool mWinsInCascade; InfallibleTArray mSegments; - // NOTE: This operator does *not* compare the mWinsInCascade member. - // This is because AnimationProperty objects are compared when recreating - // CSS animations to determine if mutation observer change records need to - // be created or not. However, at the point when these objects are compared - // the mWinsInCascade will not have been set on the new objects so we ignore - // this member to avoid generating spurious change records. bool operator==(const AnimationProperty& aOther) const { return mProperty == aOther.mProperty && + mWinsInCascade == aOther.mWinsInCascade && mSegments == aOther.mSegments; } bool operator!=(const AnimationProperty& aOther) const {