From 6ceb4a804e5ea07cf84c15e26df1f3390ea63378 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 18 Mar 2016 13:06:18 -0700 Subject: Replace additional FX_WCHAR tables with uint16_t. Saves a few bytes here and there because the tables need only 16 bits but wchar is 32 bits (except on windows). R=ochang@chromium.org Review URL: https://codereview.chromium.org/1815313003 . --- core/include/fxcrt/fx_ucd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/include') diff --git a/core/include/fxcrt/fx_ucd.h b/core/include/fxcrt/fx_ucd.h index a670640306..969f116d60 100644 --- a/core/include/fxcrt/fx_ucd.h +++ b/core/include/fxcrt/fx_ucd.h @@ -38,10 +38,10 @@ enum FX_BIDICLASS { extern const FX_DWORD kTextLayoutCodeProperties[]; extern const size_t kTextLayoutCodePropertiesSize; -extern const FX_WCHAR kFXTextLayoutVerticalMirror[]; +extern const uint16_t kFXTextLayoutVerticalMirror[]; extern const size_t kFXTextLayoutVerticalMirrorSize; -extern const FX_WCHAR kFXTextLayoutBidiMirror[]; +extern const uint16_t kFXTextLayoutBidiMirror[]; extern const size_t kFXTextLayoutBidiMirrorSize; FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch); -- cgit v1.2.3