Closed Bug 1344598 Opened 7 years ago Closed 7 years ago

Use nsIDocument::IsStyledByServo() in KeyframeEffectReadOnly.cpp

Categories

(Core :: DOM: Animation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(1 file)

Bug 1302888 made me realize that we don't need to get nsPresContext to check we are using servo or not.  We just need to use nsIDocument::IsStyledByServo() instead.
Comment on attachment 8843799 [details]
Bug 1344598 - Use nsIDocument::IsStyledByServo to check we are using servo or not.

https://reviewboard.mozilla.org/r/117378/#review119032

Great!
Attachment #8843799 - Flags: review?(boris.chiou) → review+
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/26cf91f36f5e
Use nsIDocument::IsStyledByServo to check we are using servo or not. r=boris
https://hg.mozilla.org/mozilla-central/rev/26cf91f36f5e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: