diff options
Diffstat (limited to 'core/include/fxcrt/fx_safe_types.h')
-rw-r--r-- | core/include/fxcrt/fx_safe_types.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/core/include/fxcrt/fx_safe_types.h b/core/include/fxcrt/fx_safe_types.h deleted file mode 100644 index 6ae3ee1054..0000000000 --- a/core/include/fxcrt/fx_safe_types.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2014 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_ -#define CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_ - -#include <stdlib.h> // For size_t. - -#include "core/include/fxcrt/fx_stream.h" // for FX_FILESIZE. -#include "core/include/fxcrt/fx_system.h" -#include "third_party/base/numerics/safe_math.h" - -typedef pdfium::base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD; -typedef pdfium::base::CheckedNumeric<int32_t> FX_SAFE_INT32; -typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T; -typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE; -typedef pdfium::base::CheckedNumeric<FX_STRSIZE> FX_SAFE_STRSIZE; - -#endif // CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_ |