Index: chrome/browser/ui/find_bar/find_bar_controller.cc |
diff --git a/chrome/browser/ui/find_bar/find_bar_controller.cc b/chrome/browser/ui/find_bar/find_bar_controller.cc |
index 713c3fa0984cbf5303fb1af640a47d0266e9b60c..dd6eb080f5e073c65c7b3ca05142285298bf556a 100644 |
--- a/chrome/browser/ui/find_bar/find_bar_controller.cc |
+++ b/chrome/browser/ui/find_bar/find_bar_controller.cc |
@@ -120,7 +120,8 @@ void FindBarController::ChangeWebContents(WebContents* contents) { |
// reason. |
find_bar_->Show(false); |
} |
- |
+ // Clearing the count and previous results. |
+ find_tab_helper->StopFinding(kClearSelectionOnPage); |
Finnur
2014/08/25 10:50:41
This fix isn't correct. This breaks the following
Deepak
2014/08/25 14:22:42
Thanks for review, I will modify my patch, conside
|
UpdateFindBarForCurrentResult(); |
find_bar_->UpdateFindBarForChangedWebContents(); |
} |