[Webkit-unassigned] [Bug 173266] Objects owning API clients should use UniqueRef

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 13 00:34:02 PDT 2017


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

--- Comment #2 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Ok, there's another possibility, if we add 

UniqueRef(std::unique_ptr<U>&& otherRef);

we can keep using a std::unique_ptr for the parameter, and don't need to change the code in the callers either.

-- 
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/20170613/9a79182a/attachment.html>


More information about the webkit-unassigned mailing list