On Oct 26, 11:30 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> We have some code (definitely in nsObjectLoadingContent, but I've seen some
> elsewhere, I'm pretty sure) that looks like this:
>
>    nsIFrame* frame = shell->GetPrimaryFrameFor(content);
>    // Do something that might cause the frame to be destroyed
>    if (frame == shell->GetPrimaryFrameFor(content)) {
>      // Frame didn't change
>    }

Yeesh! I've killed off some of that sort of thing during reviews :-)

Rob

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to