diff options
Diffstat (limited to 'chrome/browser/find_bar_controller.cc')
-rw-r--r-- | chrome/browser/find_bar_controller.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/find_bar_controller.cc b/chrome/browser/find_bar_controller.cc index 954cab9..8443cf6 100644 --- a/chrome/browser/find_bar_controller.cc +++ b/chrome/browser/find_bar_controller.cc @@ -47,7 +47,9 @@ void FindBarController::EndFindSession(SelectionAction action) { // for now, so that we can abort the scoping effort and clear all the // tickmarks and highlighting. tab_contents_->StopFinding(action); - find_bar_->ClearResults(tab_contents_->find_result()); + + if (action != kKeepSelection) + find_bar_->ClearResults(tab_contents_->find_result()); // When we get dismissed we restore the focus to where it belongs. find_bar_->RestoreSavedFocus(); |