From fb606f2723b87a145a9ceece6cd6ccaaf15ceadd Mon Sep 17 00:00:00 2001 From: npm Date: Fri, 19 Aug 2016 10:26:03 -0700 Subject: Apply structure packing to FXTEXT_CHARPOS to save space. BUG=pdfium:562 Review-Url: https://codereview.chromium.org/2257313002 --- core/fxge/skia/fx_skia_device_unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxge/skia') diff --git a/core/fxge/skia/fx_skia_device_unittest.cpp b/core/fxge/skia/fx_skia_device_unittest.cpp index 77d6576228..5162e9cbde 100644 --- a/core/fxge/skia/fx_skia_device_unittest.cpp +++ b/core/fxge/skia/fx_skia_device_unittest.cpp @@ -36,7 +36,7 @@ void EmptyTest(CFX_SkiaDeviceDriver* driver, const State&) { } void CommonTest(CFX_SkiaDeviceDriver* driver, const State& state) { - FXTEXT_CHARPOS charPos[] = {{1, 0, 1, 4, false, {0, 0, 0, 0}, false}}; + FXTEXT_CHARPOS charPos[] = {{{0, 0, 0, 0}, 0, 1, 1, 4, false, false}}; CFX_Font font; FX_FLOAT fontSize = 1; CFX_FontCache cache; -- cgit v1.2.3