| commit | a6f95eb2eb735e593f201a3ff9daad77c765cce0 | [log] [tgz] |
|---|---|---|
| author | Bo Xu <bo_xu@foxitsoftware.com> | Wed Jan 21 12:17:23 2015 -0800 |
| committer | Bo Xu <bo_xu@foxitsoftware.com> | Wed Jan 21 12:59:54 2015 -0800 |
| tree | 6d6e7bf325e782db19e00cc5c2b290206cec0e75 | |
| parent | 96d1334cb605aab143d3135da4d4550920735e91 [diff] |
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