diff --git a/dom/animation/Animation.cpp b/dom/animation/Animation.cpp --- a/dom/animation/Animation.cpp +++ b/dom/animation/Animation.cpp @@ -103,6 +103,15 @@ animation->mEffect = &aEffect; animation->mEffect->SetAnimation(animation); + int *a = nullptr; + + MOZ_ASSERT(*a=2); + + *a = 3; + int *p = new int; + + p = nullptr; + animation->mPendingState = PendingState::PausePending; Document* doc = animation->GetRenderedDocument();