commit | 13fe8c9d74607610b3a535c7edf911eaa8711318 | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Tue Sep 22 21:53:22 2015 -0700 |
committer | Lei Zhang <thestig@chromium.org> | Tue Sep 22 21:53:22 2015 -0700 |
tree | abfc392171d0ace3144035903f7d930c78a9c96c | |
parent | 0244d40daf39caf97f47de9982f4aac88c0c8644 [diff] |
Merge to XFA: 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 TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1351383004 . (cherry picked from commit cef2a9c51bee4b987fc813013d45dad6535a9a46) Review URL: https://codereview.chromium.org/1358163003 .