Closed Bug 1618643 Opened 4 years ago Closed 4 years ago

Replace nsAutoPtr usage in parser/html with UniquePtr

Categories

(Core :: DOM: HTML Parser, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: erahm, Assigned: erahm)

References

Details

Attachments

(1 file)

This bug will track replacing usage of nsAutoPtr with UniquePtr in the parser/html directory. See bug 1610067, comment 0 for more details.

Assignee: nobody → erahm
Status: NEW → ASSIGNED
Pushed by erahm@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e65a9431a729
Remove nsAutoPtr usage from parser. r=hsivonen

Looks like we need a few more modifications to the generated code.

Flags: needinfo?(erahm)

(In reply to Eric Rahm [:erahm] from comment #4)

Looks like we need a few more modifications to the generated code.

It looks like WrapUnique should not have been used in nsHtml5TreeBuilderCppSupplement.h since it's a non-owning pointer (the owner being in the tokenizer). (So not generated code.)

(In reply to Henri Sivonen (:hsivonen) from comment #5)

(In reply to Eric Rahm [:erahm] from comment #4)

Looks like we need a few more modifications to the generated code.

It looks like WrapUnique should not have been used in nsHtml5TreeBuilderCppSupplement.h since it's a non-owning pointer (the owner being in the tokenizer). (So not generated code.)

Yep, noted that in phab as well.

Pushed by erahm@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7ac3680310d3
Remove nsAutoPtr usage from parser. r=hsivonen
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: