Open Bug 1954395 Opened 1 month ago Updated 1 month ago

Make `nsFrameSelection::FrameSelection` return `nsFrameSelection*` rather than `already_AddRefed<nsFrameSelection>`

Categories

(Core :: DOM: Selection, task)

task

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

Details

The safeness of nsFrameSelection usage should be managed with MOZ_CAN_RUN_SCRIPT. Therefore, this should return raw pointer for the performance of the safe users.

You need to log in before you can comment on or make changes to this bug.