summaryrefslogtreecommitdiff
path: root/core/fxge/skia
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-08-19 10:26:03 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-19 10:26:03 -0700
commitfb606f2723b87a145a9ceece6cd6ccaaf15ceadd (patch)
tree2334f061175d46059c24e31241b48235817a244e /core/fxge/skia
parent618cb1f3e561b5d2a1dea9ec4653804f0da7267c (diff)
downloadpdfium-fb606f2723b87a145a9ceece6cd6ccaaf15ceadd.tar.xz
Apply structure packing to FXTEXT_CHARPOS to save space.
BUG=pdfium:562 Review-Url: https://codereview.chromium.org/2257313002
Diffstat (limited to 'core/fxge/skia')
-rw-r--r--core/fxge/skia/fx_skia_device_unittest.cpp2
1 files changed, 1 insertions, 1 deletions
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;