Closed Bug 1287725 Opened 3 years ago Closed 3 years ago

Drop KeyframeEffectReadOnly::HasAnimationOfProperties and nsLayoutUtils::HasCurrentAnimationsForProperties.

Categories

(Core :: DOM: Animation, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(1 file)

There is a only one place we call nsLayoutUtils::HasCurrentAnimationsForProperties.
http://hg.mozilla.org/mozilla-central/file/feaaf1af1065/layout/base/ActiveLayerTracker.cpp#l449

As you can see, it essentially same as nsLayoutUtils::HasCurrentAnimationOfProperty.
Blocks: 1223658
It turns out that this bug does not block bug 1287725 at all.  I thought nsLayoutUtils::HasCurrentAnimationsForProperties() in ActiveLayerTracker::IsStyleAnimated() will be replaced by nsLayoutUtils::HasRelevantAnimationOfProperty() in bug 1287725, but ActiveLayerTracker::IsStyleAnimated() is called from ActiveLayerTracker::IsBackgroundPositionAnimated(), yes, it's for non-compositable properties. So, we won't replace it in bug 1287725.
No longer blocks: 1223658
I thought I did request review for the patch here...
Comment on attachment 8774507 [details]
Bug 1287725 - Drop KeyframeEffectReadOnly::HasAnimationOfProperties and nsLayoutUtils::HasCurrentAnimationsForProperties.

https://reviewboard.mozilla.org/r/65196/#review63884
Attachment #8774507 - Flags: review?(bbirtles) → review+
Pushed by hiikezoe@mozilla-japan.org:
https://hg.mozilla.org/integration/autoland/rev/5125ae09224a
Drop KeyframeEffectReadOnly::HasAnimationOfProperties and nsLayoutUtils::HasCurrentAnimationsForProperties. r=birtles
https://hg.mozilla.org/mozilla-central/rev/5125ae09224a
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.