[webkit-dev] Protecting against stale pointers in DrawingBuffer and GraphicsContext3D

Maciej Stachowiak mjs at apple.com
Tue Oct 12 22:41:51 PDT 2010


I don't know if this is what Darin (Adler) is referring to, but at one point I think there was a special weak pointer for Nodes to point back to their Document. This turned out to be the wrong design since for Web-compatible behavior you really want the document to stay alive while the node is alive.

 - Maciej

On Oct 12, 2010, at 10:12 PM, Darin Fisher wrote:

> Caused more harm than good?
> 
> -Darin
> 
> 
> On Tue, Oct 12, 2010 at 10:06 PM, Darin Adler <darin at apple.com> wrote:
> Not sure it is relevant to this discussion, but WebKit had a weak pointer class back in 2002 and I removed it.
> 
>    -- Darin
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20101012/03ece51f/attachment.html>


More information about the webkit-dev mailing list