summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-22 19:15:49 -0700
committerLei Zhang <thestig@chromium.org>2015-09-22 19:15:49 -0700
commitcef2a9c51bee4b987fc813013d45dad6535a9a46 (patch)
tree6bb1cb91c327f9664ab510bca617205b638f1c6d /BUILD.gn
parent3b4382a847b5a7439a3107512dbe54c317108579 (diff)
downloadpdfium-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.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index bba48180a9..ec28f17975 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -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",