From 1e62a254e6a9ad8c6f18a8def3d104e0fe98a2e2 Mon Sep 17 00:00:00 2001 From: caryclark Date: Wed, 29 Jun 2016 12:10:50 -0700 Subject: fix skia unit tests Add checks to pass unit tests. R=thestig@chromium.org,dsinclair@chromium.org BUG=pdfium:525, pdfium:526, pdfium:527, pdfium:528, pdfium:529 Review-Url: https://codereview.chromium.org/2111553003 --- core/fxge/skia/fx_skia_device_unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxge/skia/fx_skia_device_unittest.cpp') diff --git a/core/fxge/skia/fx_skia_device_unittest.cpp b/core/fxge/skia/fx_skia_device_unittest.cpp index eb7559b5e2..b2f7f6de5f 100644 --- a/core/fxge/skia/fx_skia_device_unittest.cpp +++ b/core/fxge/skia/fx_skia_device_unittest.cpp @@ -32,7 +32,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[] = {{1, 0, 1, 4, false, {0, 0, 0, 0}, false}}; CFX_Font font; FX_FLOAT fontSize = 1; CFX_FontCache cache; -- cgit v1.2.3