| Index: core/include/fxcrt/fx_safe_types.h
|
| diff --git a/core/src/fxcrt/fx_safe_types.h b/core/include/fxcrt/fx_safe_types.h
|
| similarity index 71%
|
| rename from core/src/fxcrt/fx_safe_types.h
|
| rename to core/include/fxcrt/fx_safe_types.h
|
| index 35a906cf27581d25468771da13743f143872ac7f..e45e6d3c8de7b0032e6c07759dd2e52b9191a259 100644
|
| --- a/core/src/fxcrt/fx_safe_types.h
|
| +++ b/core/include/fxcrt/fx_safe_types.h
|
| @@ -2,16 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CORE_SRC_FXCRT_FX_SAFE_TYPES_H_
|
| -#define CORE_SRC_FXCRT_FX_SAFE_TYPES_H_
|
| +#ifndef CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
|
| +#define CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
|
|
|
| #include <stdlib.h> // For size_t.
|
|
|
| #include "../../../third_party/base/numerics/safe_math.h"
|
| +#include "fx_stream.h" // for FX_FILESIZE.
|
| +#include "fx_system.h"
|
|
|
| typedef pdfium::base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD;
|
| typedef pdfium::base::CheckedNumeric<FX_INT32> FX_SAFE_INT32;
|
| typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
|
| typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE;
|
|
|
| -#endif // CORE_SRC_FXCRT_FX_SAFE_TYPES_H_
|
| +#endif // CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
|
|
|