FindInPage: Don't show tickmark for empty ActiveMatchRect.
The ActiveMatch may be null when make a FindRequest with options that kWrapAround is false, while the active_rect in |FindRequestManager| will not update when it is empty then we will show a incorrect tickmark(active_rect of last FindRequest) on Android. so We should reset the active_rect in |FindRequestManager| when there is a new FindRequest. Bug: 1141374 Change-Id: Ieac210a2b72f4f92649e68e1b2e2969fd707dbf2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491726Reviewed-by:Nasko Oskov <nasko@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Commit-Queue: Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#825424}
Showing
Please register or sign in to comment