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) {