diff --git a/dom/animation/Animation.cpp b/dom/animation/Animation.cpp --- a/dom/animation/Animation.cpp +++ b/dom/animation/Animation.cpp @@ -101,10 +101,19 @@ // Setup the effect's link to this. 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(); MOZ_ASSERT(doc, "Cloning animation should already have the rendered document");