summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-17 12:55:39 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-17 12:55:39 -0700
commit29bc87d102b9e36c1e15385756c9fa9a214f3503 (patch)
tree0b366445d13533896dfdfd41d60636d2159abaf1 /third_party/BUILD.gn
parentee2fe42f9bf3ac6afc4f05f79629a3e34179a2b9 (diff)
downloadpdfium-29bc87d102b9e36c1e15385756c9fa9a214f3503.tar.xz
Add nonstd::unique_ptr as a workaround until std::unique_ptr is allowed.
This is a copy of breakpad's standalone scoped_ptr, which has been renamed to nonstd::unique_ptr, and from which more complicated classes have been removed. The reset() method has also been tweaked to more closely match c++11, and an implicit conversion to bool has been added. BUG=https://code.google.com/p/pdfium/issues/detail?id=55 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1091283002
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index c6de4535da..18baeb2eb5 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -78,6 +78,7 @@ source_set("pdfium_base") {
sources = [
"base/logging.h",
"base/macros.h",
+ "base/nonstd_unique_ptr.h",
"base/numerics/safe_conversions.h",
"base/numerics/safe_conversions_impl.h",
"base/numerics/safe_math.h",