[Webkit-unassigned] [Bug 173266] API clients should not be passed by value to the setters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 13 22:56:00 PDT 2017


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Objects owning API clients  |API clients should not be
                   |should use UniqueRef        |passed by value to the
                   |                            |setters

--- Comment #12 from Carlos Garcia Campos <cgarcia at igalia.com> ---
By using a rvalue reference we make it more explicit that the ownership is transferred and we avoid the parameter construction.

-- 
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/20170614/3019134c/attachment.html>


More information about the webkit-unassigned mailing list