On Mon, Jun 20, 2011 at 9:19 AM, Alexey Proskuryakov <[email protected]> wrote:
>
> I think that to make this complete, the rules need to be transitive. A
> function that passes its argument to another function taking a PassRefPtr
> should itself take a PassRefPtr. That's the case in <
> https://bugs.webkit.org/show_bug.cgi?id=52981>, for instance.
>

I agree.  Most of editing bugs come from breaking that transitive rule.

I even want it be enforced by some C++ idiom; e.g. replace all raw pointers
in argument list by PassRawPtr, which cannot be converted to PassRefPtr or
RefPtr.

- Ryosuke
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to