diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index cdd5d1f6..8f49bb1 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -1205,7 +1205,8 @@ void TabContents::StopFinding( // by the user, but the UI has not been dismissed. if (selection_action != FindBarController::kClearSelection) find_ui_active_ = false; - previous_find_text_ = find_text_; + if (!find_text_.empty()) + previous_find_text_ = find_text_; find_text_.clear(); find_op_aborted_ = true; last_search_result_ = FindNotificationDetails(); |