diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-04 10:37:17 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-04 10:37:17 -0800 |
commit | 62120b79bbaca7430a8fc7ba0846b0a84f40542d (patch) | |
tree | 895210d653f0b016c536d8f0e2626b9f560a3304 /core/include/fxcrt/fx_stream.h | |
parent | c32dac1f9dcd75aeabd9ea1af257499270d2f041 (diff) | |
download | pdfium-62120b79bbaca7430a8fc7ba0846b0a84f40542d.tar.xz |
Prevent base::CheckedNumeric from leaking outside of pdfium.
Headers in /include directories should be free of implementation details
from third_party. Put the types into a new header outside of /include.
Requires https://codereview.chromium.org/902443003/ before a version containing this patch is rolled into chromium.
R=jam@chromium.org
Review URL: https://codereview.chromium.org/896023003
Diffstat (limited to 'core/include/fxcrt/fx_stream.h')
-rw-r--r-- | core/include/fxcrt/fx_stream.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h index e54af579b6..b3784501a9 100644 --- a/core/include/fxcrt/fx_stream.h +++ b/core/include/fxcrt/fx_stream.h @@ -30,7 +30,6 @@ FX_DEFINEHANDLE(FX_HFILE) #endif #define FX_FILESIZE off_t #endif -typedef base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE; #define FX_GETBYTEOFFSET32(a) 0 #define FX_GETBYTEOFFSET40(a) 0 #define FX_GETBYTEOFFSET48(a) 0 |