[webkit-dev] Rename of selfOnlyRef to guardRef - ok if I change it back? (was Re: DOM tree traversal on detached nodes)
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev