[webkit-dev] Stop Using Raw Pointers & References in New Code
Michael Catanzaro
mcatanzaro at redhat.com
Fri Jan 27 08:58:14 PST 2023
On Fri, Jan 27 2023 at 10:52:52 AM -0600, Michael Catanzaro
<mcatanzaro at redhat.com> wrote:
> There is probably a relatively high cost compared to WTF::WeakPtr, so
> I'd say it should be used only when it provides valuable safety (e.g.
> in member variables) rather than spammed (e.g. in local variables).
Another good use for GWeakPtr: callbacks
More information about the webkit-dev
mailing list