commit | 0fa45e9d5e9bf2530cf3b015bf297c49e3f32f99 | [log] [tgz] |
---|---|---|
author | Russell Davis <[email protected]> | Wed Sep 30 23:09:56 2020 |
committer | Commit Bot <[email protected]> | Wed Sep 30 23:09:56 2020 |
tree | 68464c3052b04c73f4323b671af36b71d527fb5d | |
parent | 72b35d0a62f8327f0c1ec13add627eeb8c03bdb2 [diff] [blame] |
Fix audible alert when opening findbar with prepopulated text Bug: 1131780 Change-Id: I3556016852284a7c7c2c64c22787747dfb420ba0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438634 Reviewed-by: Scott Violet <[email protected]> Commit-Queue: Eric Lawrence [MSFT] <[email protected]> Cr-Commit-Position: refs/heads/master@{#812419}
diff --git a/components/find_in_page/find_tab_helper.cc b/components/find_in_page/find_tab_helper.cc index 26a7e9a..87db874 100644 --- a/components/find_in_page/find_tab_helper.cc +++ b/components/find_in_page/find_tab_helper.cc
@@ -82,6 +82,7 @@ last_search_case_sensitive_ = case_sensitive; find_op_aborted_ = false; + should_find_match_ = find_match; // Keep track of what the last search was across the tabs. if (delegate_) @@ -111,6 +112,7 @@ last_completed_find_text_.clear(); find_op_aborted_ = true; last_search_result_ = FindNotificationDetails(); + should_find_match_ = false; content::StopFindAction action; switch (selection_action) {