[Webkit-unassigned] [Bug 140246] Remove the concept of "retained" font

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 8 12:11:15 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140246

--- Comment #7 from Antti Koivisto <koivisto at iki.fi> ---
> Why RefPtr instead of Ref? Also, normally I like to use auto for things like
> this. I’m kind of surprised that this function returns a smart pointer at
> all. Can it return a raw reference instead, or am I missing the point in
> some major way in asking that?

Yeah, made it Ref. From the lifetime management perspective I think it would better to head to direction where we don't rely on the "cache" keeping things alive and so shouldn't be handing out any raw pointers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150108/501ffff5/attachment-0002.html>


More information about the webkit-unassigned mailing list