Closed Bug 1420774 Opened 7 years ago Closed 7 years ago

Drop virtual from some Animation methods

Categories

(Core :: DOM: Animation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(1 file)

virtual Promise* GetFinished(ErrorResult& aRv);
virtual void Finish(ErrorResult& aRv);
virtual void Reverse(ErrorResult& aRv);

These methods are not overridden at all.

GetFinish() should be perhaps overridden since it might need to flush style as GetReady() does, but if so I will fix it in a followup bug.
Comment on attachment 8931984 [details]
Bug 1420774 - Drop unnecessary virtual from Animation methods.

https://reviewboard.mozilla.org/r/203042/#review208350

CSSAnimation and CSSTransition doesn't override these functions. Looks good.
Attachment #8931984 - Flags: review?(boris.chiou) → review+
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4c259d35fa9f
Drop unnecessary virtual from Animation methods. r=boris
https://hg.mozilla.org/mozilla-central/rev/4c259d35fa9f
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Assignee: nobody → hikezoe
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: