From 269963f90fa882869c3a33c8c9ecba41351cb27d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 9 Apr 2018 17:45:54 +0000 Subject: Make pdfium::span<> be based off of UnownedPtr<>. Because we can get the lifetime check for free if we do this. This requires adding some "constexpr/noexcept" to UnownedPtr to make the types line up with what span.h requires. Change-Id: I45918f8723122082036eed959f769644ab4c509f Reviewed-on: https://pdfium-review.googlesource.com/29672 Commit-Queue: Tom Sepez Reviewed-by: dsinclair --- third_party/DEPS | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party/DEPS') diff --git a/third_party/DEPS b/third_party/DEPS index 93ca1a0bd4..392d0124c9 100644 --- a/third_party/DEPS +++ b/third_party/DEPS @@ -3,5 +3,6 @@ include_rules = [ '+core/fxcrt/fx_coordinates.h', '+core/fxcrt/fx_memory.h', '+core/fxcrt/fx_system.h', + '+core/fxcrt/unowned_ptr.h', '+build', ] -- cgit v1.2.3