/* static */ void ActiveLayerTracker::NotifyInlineStyleRuleModified(nsIFrame* aFrame, nsCSSProperty aProperty) { if (!IsPresContextInScriptAnimationCallback(aFrame->PresContext())) { return; } NotifyAnimated(aFrame, aProperty); }
/* static */ void ActiveLayerTracker::NotifyInlineStyleRuleModified(nsIFrame* aFrame, nsCSSProperty aProperty) { if (IsPresContextInScriptAnimationCallback(aFrame->PresContext())) { NotifyAnimated(aFrame, aProperty); } if (gLayerActivityTracker && gLayerActivityTracker->mCurrentScrollHandlerFrame.IsAlive()) { NotifyAnimatedFromScrollHandler(aFrame, aProperty, gLayerActivityTracker->mCurrentScrollHandlerFrame.GetFrame()); } }