Closed Bug 1490217 Opened 6 years ago Closed 6 years ago

remove ArenaRefPtr

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1448535

People

(Reporter: heycam, Assigned: heycam)

Details

We shouldn't need it any more since we don't arena allocate ComputedStyle objects.
Probably a dupe of bug 1448535.
You seem to be using the same approach I'm trying to use in that bug, so it might have the same problem, although I have forgot what the problem is...
I didn't search hard enough to find that bug!
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #3) > You seem to be using the same approach I'm trying to use in that bug, so it > might have the same problem, although I have forgot what the problem is... The issue is that we rely on ArenaRefPtr to null out the computed style of nsComputedDOMStyle, since that style contains a pres context pointer which can be outlived by nsComputedDOMStyle.
You need to log in before you can comment on or make changes to this bug.