[webkit-dev] Rename of selfOnlyRef to guardRef - ok if I change it back? (was Re: DOM tree traversal on detached nodes)
Ryosuke Niwa
rniwa at webkit.org
Fri Jun 15 10:18:19 PDT 2012
On Fri, Jun 15, 2012 at 9:49 AM, Darin Adler <darin at apple.com> wrote:
> On Jun 15, 2012, at 9:47 AM, Ryosuke Niwa wrote:
>
> > // Nodes belonging to this document hold guard references -
> > // these are enough to keep the document from being destroyed, but
> > // not enough to keep it from removing its children. This allows a
> > // node that outlives its document to still have a valid document
> > // pointer without introducing reference cycles.
>
> refDocumentButNotChildren? I guess that makes it sound like the ordinary
> ref calls ref on children.
>
Maybe refToOnlyKeepOwnerDocument or refToKeepOwnerDocument if we're going
that route?
- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120615/c05d11c5/attachment.html>
More information about the webkit-dev
mailing list