diff options
author | David Lattimore <dml@google.com> | 2015-09-18 07:39:39 +1000 |
---|---|---|
committer | David Lattimore <dml@google.com> | 2015-09-18 07:39:39 +1000 |
commit | fa31d9630aadfe101d3b35e26ce0fc926ec1505b (patch) | |
tree | e0ad9e4428d9515076d64042c66e4850b8aceba1 | |
parent | 1af240cc45480520b447be767686e73a29c48f9e (diff) | |
download | pdfium-fa31d9630aadfe101d3b35e26ce0fc926ec1505b.tar.xz |
Fix a #include in fpdf_page_func.cpp.
Not sure why building with gyp was working despite the missing '../' but
it wasn't working in stricter build systems.
BUG=
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1321293003.
-rw-r--r-- | core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp | 2 | ||||
-rw-r--r-- | third_party/base/numerics/safe_conversions_impl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp index 8c909a9e68..224c99bb69 100644 --- a/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp @@ -6,10 +6,10 @@ #include <limits.h> +#include "../../../../third_party/base/numerics/safe_conversions_impl.h" #include "../../../include/fpdfapi/fpdf_module.h" #include "../../../include/fpdfapi/fpdf_page.h" #include "../../../include/fxcrt/fx_safe_types.h" -#include "../../../third_party/base/numerics/safe_conversions_impl.h" #include "pageint.h" class CPDF_PSEngine; diff --git a/third_party/base/numerics/safe_conversions_impl.h b/third_party/base/numerics/safe_conversions_impl.h index 7c88dda0a8..f7afdfe31c 100644 --- a/third_party/base/numerics/safe_conversions_impl.h +++ b/third_party/base/numerics/safe_conversions_impl.h @@ -5,6 +5,7 @@ #ifndef PDFIUM_THIRD_PARTY_BASE_SAFE_CONVERSIONS_IMPL_H_ #define PDFIUM_THIRD_PARTY_BASE_SAFE_CONVERSIONS_IMPL_H_ +#include <assert.h> #include <limits> #include "../macros.h" @@ -216,4 +217,3 @@ inline RangeConstraint DstRangeRelationToSrcRange(Src value) { } // namespace pdfium #endif // PDFIUM_THIRD_PARTY_BASE_SAFE_CONVERSIONS_IMPL_H_ - |