summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_msgid.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-15 20:58:27 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-15 20:58:27 +0000
commitaaf58321fcaefae4bdf2419b5094f810cdcb1a49 (patch)
treeb77cace2326e737ea623ba1a4a0b2844dd482d82 /xfa/fxfa/parser/cxfa_msgid.h
parente839a6adb305467759e0d22fe7532a72fe4d8fa7 (diff)
downloadpdfium-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/fxfa/parser/cxfa_msgid.h')
0 files changed, 0 insertions, 0 deletions