| commit | cef2a9c51bee4b987fc813013d45dad6535a9a46 | [log] [tgz] |
|---|---|---|
| author | Lei Zhang <thestig@chromium.org> | Tue Sep 22 19:15:49 2015 -0700 |
| committer | Lei Zhang <thestig@chromium.org> | Tue Sep 22 19:15:49 2015 -0700 |
| tree | 6bb1cb91c327f9664ab510bca617205b638f1c6d | |
| parent | 3b4382a847b5a7439a3107512dbe54c317108579 [diff] |
Change nonstd::unique_ptr to take a custom deleter. Code is mostly stolen from Chromium's scoped_ptr. - Add unit tests. - Use this to fix a leak. BUG=chromium:531408 R=jyasskin@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/1351383004 .