[webkit-dev] Rename of selfOnlyRef to guardRef - ok if I change it back? (was Re: DOM tree traversal on detached nodes)

Darin Adler darin at apple.com
Fri Jun 15 09:49:51 PDT 2012


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.

-- Darin


More information about the webkit-dev mailing list