Bug 1461023 - Disable the assertion that checks the previous opacity animation value exists when we skip computing opacity animation. r=kats

We are going to re-enable the assertion with a proper fix in bug 1459775.

MozReview-Commit-ID: 2jy6vIImqD

--HG--
extra : rebase_source : ce81b8b2f7dfb47f7db07e820989a65eac38859a
This commit is contained in:
Hiroyuki Ikezoe 2018-05-12 08:01:46 +09:00
parent bc221bf045
commit 4ff74a279c

View File

@ -717,9 +717,11 @@ SampleAnimations(Layer* aLayer,
case eCSSProperty_opacity:
MOZ_ASSERT(
layer->AsHostLayer()->GetShadowOpacitySetByAnimation());
MOZ_ASSERT(FuzzyEqualsMultiplicative(
Servo_AnimationValue_GetOpacity(animationValue),
*(aStorage->GetAnimationOpacity(layer->GetCompositorAnimationsId()))));
// Disable this assertion until the root cause is fixed in bug
// 1459775.
// MOZ_ASSERT(FuzzyEqualsMultiplicative(
// Servo_AnimationValue_GetOpacity(animationValue),
// *(aStorage->GetAnimationOpacity(layer->GetCompositorAnimationsId()))));
break;
case eCSSProperty_transform: {
MOZ_ASSERT(