diff options
author | Lei Zhang <thestig@chromium.org> | 2015-09-22 19:15:49 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-09-22 19:15:49 -0700 |
commit | cef2a9c51bee4b987fc813013d45dad6535a9a46 (patch) | |
tree | 6bb1cb91c327f9664ab510bca617205b638f1c6d /BUILD.gn | |
parent | 3b4382a847b5a7439a3107512dbe54c317108579 (diff) | |
download | pdfium-cef2a9c51bee4b987fc813013d45dad6535a9a46.tar.xz |
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 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -740,6 +740,7 @@ test("pdfium_unittests") { "core/src/fxcrt/fx_system_unittest.cpp", "testing/fx_string_testhelpers.cpp", "testing/fx_string_testhelpers.h", + "third_party/base/nonstd_unique_ptr_unittest.cpp", ] deps = [ "//testing/gtest", |