diff options
author | Lei Zhang <thestig@chromium.org> | 2018-03-15 20:58:27 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-15 20:58:27 +0000 |
commit | aaf58321fcaefae4bdf2419b5094f810cdcb1a49 (patch) | |
tree | b77cace2326e737ea623ba1a4a0b2844dd482d82 /xfa/fgas/layout/fgas_textbreak.cpp | |
parent | e839a6adb305467759e0d22fe7532a72fe4d8fa7 (diff) | |
download | pdfium-chromium/3325.tar.xz |
M65: Fix bad return value in WideString::Compare().chromium/3325
When comparing L"a" vs L"ab", the return value should be -1 or 1, not 0
or 1. Add a regression test for this case.
BUG=chromium:821454
TBR=rharrison@chromium.org
Change-Id: I38e2d7ca62319b7a62f8d8afeb231b8ed3bd9e86
Reviewed-on: https://pdfium-review.googlesource.com/28570
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
(cherry picked from commit 40c223e4ed41e991f81281ca08b3085e218c52dc)
Reviewed-on: https://pdfium-review.googlesource.com/28650
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/fgas_textbreak.cpp')
0 files changed, 0 insertions, 0 deletions