diff options
author | Lei Zhang <thestig@chromium.org> | 2015-09-22 21:53:22 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-09-22 21:53:22 -0700 |
commit | 13fe8c9d74607610b3a535c7edf911eaa8711318 (patch) | |
tree | abfc392171d0ace3144035903f7d930c78a9c96c /BUILD.gn | |
parent | 0244d40daf39caf97f47de9982f4aac88c0c8644 (diff) | |
download | pdfium-13fe8c9d74607610b3a535c7edf911eaa8711318.tar.xz |
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 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1435,6 +1435,7 @@ test("pdfium_unittests") { "core/src/fxcrt/fx_basic_wstring_unittest.cpp", "testing/fx_string_testhelpers.cpp", "testing/fx_string_testhelpers.h", + "third_party/base/nonstd_unique_ptr_unittest.cpp", "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", ] |