Closed Bug 1679009 Opened 5 years ago Closed 5 years ago

Change definition of CSSPseudoElement not to addref

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: sg, Assigned: emilio)

Details

Attachments

(1 file)

The definition of CSSPseudoElement::Element can be changed to

dom::Element* Element() const { return mOriginatingElement.get(); }

and avoid needless addrefing.

Same for KeyframeEffect::GetTarget

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5ae7e8827d4 Simplify some getters in CSSPseudoElement and KeyframeEffect. r=hiro
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: