| Index: third_party/base/numerics/safe_math.h
|
| diff --git a/third_party/numerics/safe_math.h b/third_party/base/numerics/safe_math.h
|
| similarity index 98%
|
| rename from third_party/numerics/safe_math.h
|
| rename to third_party/base/numerics/safe_math.h
|
| index 4b38ff2b1f018cb300377cfe12679e12330f0d84..9540e83321a8f0dba960828e5831f46a821d29d2 100644
|
| --- a/third_party/numerics/safe_math.h
|
| +++ b/third_party/base/numerics/safe_math.h
|
| @@ -2,13 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef BASE_SAFE_MATH_H_
|
| -#define BASE_SAFE_MATH_H_
|
| +#ifndef PDFIUM_THIRD_PARTY_BASE_SAFE_MATH_H_
|
| +#define PDFIUM_THIRD_PARTY_BASE_SAFE_MATH_H_
|
|
|
| #include "safe_math_impl.h"
|
|
|
| +namespace pdfium {
|
| namespace base {
|
| -
|
| namespace internal {
|
|
|
| // CheckedNumeric implements all the logic and operators for detecting integer
|
| @@ -267,5 +267,6 @@ BASE_NUMERIC_ARITHMETIC_OPERATORS(Mod, %, %= )
|
| using internal::CheckedNumeric;
|
|
|
| } // namespace base
|
| +} // namespace pdfium
|
|
|
| -#endif // BASE_SAFE_MATH_H_
|
| +#endif // PDFIUM_THIRD_PARTY_BASE_SAFE_MATH_H_
|
|
|