Closed Bug 1507313 Opened 6 years ago Closed 6 years ago

Use UniquePtr for some members in PresShell

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

Details

Attachments

(3 files)

PresShell has some strongly-owned member data that it manages with raw pointers & nsAutoPtr right now, which we should modernize to use UniquePtr.

Filing this but on a few patches to do that.
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/036d7c1beac9
part 1: Convert nsIPresShell::mFrameConstructor into a UniquePtr (rather than an owning raw pointer). r=TYLin
https://hg.mozilla.org/integration/autoland/rev/de75d34db695
part 2: Convert PresShell::mReflowCountMgr into a UniquePtr (rather than an owning raw pointer). r=TYLin
https://hg.mozilla.org/integration/autoland/rev/ed48b4561f60
part 3: Convert PresShell::mDelayedEvents into an array of UniquePtr (rather than nsAutoPtr). r=TYLin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: