commit | 1124281051205b1421ca0a93d27b86b0a11b8b32 | [log] [tgz] |
---|---|---|
author | Stephan Hartmann <stha09@googlemail.com> | Wed May 03 19:27:02 2023 +0000 |
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 03 19:27:02 2023 +0000 |
tree | 07bf5de573cc8e537d10b78b73064918dc477ce6 | |
parent | 7058fd4ebf4d3636221598cb3f73ac32aa4cd7a4 [diff] |
IWYU: add cstdint for uint8_t in fxcrt::UnownedPtr Bug: chromium:957519 Change-Id: I23458e33527e14abc824918bfdce704f1f7363e5 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/106990 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxcrt/unowned_ptr.h b/core/fxcrt/unowned_ptr.h index 1a2c9bb..236f6e8 100644 --- a/core/fxcrt/unowned_ptr.h +++ b/core/fxcrt/unowned_ptr.h
@@ -12,6 +12,10 @@ #include "third_party/base/compiler_specific.h" +#if defined(ADDRESS_SANITIZER) +#include <cstdint> +#endif + // UnownedPtr is a smart pointer class that behaves very much like a // standard C-style pointer. The advantages of using it over raw // pointers are: