[Webkit-unassigned] [Bug 103772] Teach OwnPtr and RefPtr to understand Arena'd objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 1 23:37:46 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103772





--- Comment #17 from Eric Seidel <eric at webkit.org>  2012-12-01 23:40:07 PST ---
(In reply to comment #16)
> It's probably more interesting to add RefPtr support and use that with RenderLayer.  RenderObject is extra tricky because of RenderWidget, as well as the fact that we are currently using a union to store the RenderObject* on Node (the RareData optimization).

I was confused.  RenderLayer is not ref-counted.  I'm not sure OwnPtr is even a win there, since the code seems to imply that it's only safe to call destroy() from inside RenderLayerModeObject::destroyLayer.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list