diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-04-04 14:00:20 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-04 14:00:20 +0000 |
commit | c80153d94ed0d540c706b7f7bdb993772b2be9f7 (patch) | |
tree | 88e30a535bca8828facbd2e74b1300b4da1ca706 /fxjs/cfx_v8_unittest.cpp | |
parent | 28bb2f2ffe751cf4142329e27238da52ae9f848b (diff) | |
download | pdfium-c80153d94ed0d540c706b7f7bdb993772b2be9f7.tar.xz |
[fwl] Restrict setting cursor outside text bounds
This Cl updates CFWL_Edit to keep the cursor from extending pass the end
of the text. If we set the cursor past the end it will trigger the
ASSERT in the text edit engine as the edit engine assumes the caller
does the right thing.
Bug: pdfium:1023
Change-Id: Idfed4b240c13d666a686d0e09b78bcc9a1406794
Reviewed-on: https://pdfium-review.googlesource.com/29650
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxjs/cfx_v8_unittest.cpp')
0 files changed, 0 insertions, 0 deletions