Closed Bug 1446530 Opened 6 years ago Closed 6 years ago

CloneDataNode should return already_AddRefed

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Returning raw pointers to refcounted things is not great.
MozReview-Commit-ID: 1Clh4fG3GAq
Attachment #8959920 - Flags: review?(nika)
Priority: -- → P2
Attachment #8959920 - Flags: review?(nika) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5e00dfefb0ee
Change CloneDataNode to return already_AddRefed<CharacterData>.  r=mystor
https://hg.mozilla.org/mozilla-central/rev/5e00dfefb0ee
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: