[Webkit-unassigned] [Bug 142349] Use std::unique_ptr instead of PassOwnPtr|OwnPtr for ResourceRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 5 18:20:11 PST 2015


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

--- Comment #5 from Gyuyoung Kim <gyuyoung.kim at webkit.org> ---
(In reply to comment #2)

> This is a case where clarity clearly suffers. It was easy to see how the
> leakPtr and adoptPtr matched up. It’s not nearly was easy to spot the
> explicit std::unique_ptr construction and see that it matches up with the
> release() call. Seems like we should make an adopt function for unique_ptr
> in WTF so this idiom is more readable. I think C++14 will let us handle this
> in a cleaner way passing the unique_ptr through the lambda.

Joonghun, please file a new bug to support Darin's comment.

-- 
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/20150306/bcbe7a21/attachment-0002.html>


More information about the webkit-unassigned mailing list