[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 16:49:47 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103772
--- Comment #11 from Eric Seidel <eric at webkit.org> 2012-12-01 16:52:08 PST ---
RenderObject::RenderObject(Node* node)
: CachedImageClient()
, m_style(0)
, m_node(node)
{
...
ASSERT(node);
}
RenderWidget is again however lame:
// Grab the arena from node()->document()->renderArena() before clearing the node pointer.
// Clear the node before deref-ing, as this may be deleted when deref is called.
RenderArena* arena = renderArena();
setNode(0);
deref(arena);
--
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