On Thu, Jan 12 2023 at 12:35:09 PM -0800, Ryosuke Niwa via webkit-dev <webkit-dev at lists.webkit.org> wrote: > So… instead of: > foo(bar()); > > do: > foo(RefPtr { bar() }.get()); What's the value of creating a temporary RefPtr just to get at the underlying raw pointer? Isn't this overkill?