summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
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/third_party.gyp
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/third_party.gyp')
-rw-r--r--third_party/third_party.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index d54905c022..c106f1e314 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -66,6 +66,7 @@
'sources': [
'base/logging.h',
'base/macros.h',
+ 'base/nonstd_unique_ptr.h'
'base/template_util.h',
'base/numerics/safe_conversions.h',
'base/numerics/safe_conversions_impl.h',