[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:33:11 PST 2012


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





--- Comment #8 from Geoffrey Garen <ggaren at apple.com>  2012-12-01 16:35:31 PST ---
> Anonymous objects should still have an m_node, though node() will be null:

If so, this function may crash...

RenderArena* renderArena() const { return document()->renderArena(); }

...because this function deferences m_node:

    Document* document() const { return m_node->document(); }

-- 
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