diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-03-21 12:26:54 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-03-21 12:26:54 -0700 |
commit | 4161c5ca6c5438476bf07b6dacfafb61ea611cc5 (patch) | |
tree | 76b021ad93546c362d6e6089c18e362aebe247aa /xfa/fgas/layout | |
parent | a98600aeb8d815c297834aa5006f5c3ea20dde6d (diff) | |
download | pdfium-chromium/2689.tar.xz |
Make a few more const tables smaller.chromium/2689chromium/2688
Remove some tables from .h file (risk of duplication).
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1814233005 .
Diffstat (limited to 'xfa/fgas/layout')
-rw-r--r-- | xfa/fgas/layout/fgas_linebreak.h | 2 | ||||
-rw-r--r-- | xfa/fgas/layout/fgas_unicode.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fgas/layout/fgas_linebreak.h b/xfa/fgas/layout/fgas_linebreak.h index dc80e0dd67..f1ecad74d0 100644 --- a/xfa/fgas/layout/fgas_linebreak.h +++ b/xfa/fgas/layout/fgas_linebreak.h @@ -10,7 +10,7 @@ #include "core/include/fxcrt/fx_system.h" #include "xfa/fgas/crt/fgas_utils.h" -enum FX_LINEBREAKTYPE { +enum FX_LINEBREAKTYPE : uint8_t { FX_LBT_UNKNOWN = 0x00, FX_LBT_DIRECT_BRK = 0x1A, FX_LBT_INDIRECT_BRK = 0x2B, diff --git a/xfa/fgas/layout/fgas_unicode.h b/xfa/fgas/layout/fgas_unicode.h index 536895d870..dd574026c9 100644 --- a/xfa/fgas/layout/fgas_unicode.h +++ b/xfa/fgas/layout/fgas_unicode.h @@ -26,7 +26,7 @@ typedef CFX_MassArrayTemplate<FX_TPO> CFX_TPOArray; void FX_TEXTLAYOUT_PieceSort(CFX_TPOArray& tpos, int32_t iStart, int32_t iEnd); struct FX_JAPCHARPROPERTYEX { - FX_WCHAR wChar; + uint16_t wChar; uint8_t uAlign; }; |