From a6f95eb2eb735e593f201a3ff9daad77c765cce0 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Wed, 21 Jan 2015 12:17:23 -0800 Subject: Merge to XFA: Simplify UTF16LE_Encode and add unittest. Previously, UTF16LE_Encode take an optional flag to indicate if the returned byte string has trailing zeros. In fact, no where needs the flag to be false. So just get rid of it so callers won't misuse. The bug is found by https://codereview.chromium.org/837723009 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/860973002 --- pdfium.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'pdfium.gyp') diff --git a/pdfium.gyp b/pdfium.gyp index 6b8214e18c..3fba4ec1e9 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -905,6 +905,7 @@ 'testing/fx_string_testhelpers.h', 'testing/fx_string_testhelpers.cpp', 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', + 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', 'xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp', ], }, -- cgit v1.2.3