| commit | d2a8f72eb23fd377b0713e2061958c6b7ecae38e | [log] [tgz] |
|---|---|---|
| author | tzik <tzik@chromium.org> | Fri Jul 22 17:03:41 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Fri Jul 22 17:05:54 2016 |
| tree | 94143c15b1120e4fe3b18b6ec7de4f94bce82bf9 | |
| parent | ce3b902a7a0b6c1cc0d591f9a259daa558e0504c [diff] |
Use std::unique_ptr<> for WebTaskRunner::clone Both Chromium and Blink code can use std::unique_ptr<> recently, so now we can express the ownership passing on the type of WebTaskRunner::clone. This CL replaces the return type of WebTaskRunner::clone from a raw pointer to a std::unique_ptr<>, removes adoptClone, and updates the call-sites. Review-Url: https://codereview.chromium.org/2148363004 Cr-Commit-Position: refs/heads/master@{#407178}