DescriptionFix a find_bar audible alert regression due to r404307.
In refactor CL r404307, I mistakenly changed
last_search.find(current_search) != 0 to
StartsWith(last_search, current_search) instead of
!StartsWith(last_search, current_search)
This CL fixes the issue.
BUG=674713
Test=Open any webpage, Ctrl+F to start search, start typing some word,
audible alert should be heard as soon as the typed characters aren't
found on the page.
Committed: https://crrev.com/6cce238ff09415dfdb4f6786cfa314a48ae6e8ce
Cr-Commit-Position: refs/heads/master@{#439644}
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|