[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 15:18:04 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103772
--- Comment #6 from Maciej Stachowiak <mjs at apple.com> 2012-12-01 15:20:24 PST ---
(In reply to comment #5)
> I've heard that a renderer's node can sometimes be null. Generated / anonymous content like :before, or something. See also bug 103784 for a null node.
>
> I'm not familiar enough with this code to say for sure, but this might also block unconditionally dereferencing document().
Anonymous objects should still have an m_node, though node() will be null:
Node* node() const { return isAnonymous() ? 0 : m_node; }
However I'm not expert enough to know if there are edge cases.
--
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