| Index: chrome/browser/ui/views/find_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/find_bar_view.cc b/chrome/browser/ui/views/find_bar_view.cc
|
| index f113822345e5583db0f058f30dc923401e75785e..25dce062181548696471eefa854cd97884357804 100644
|
| --- a/chrome/browser/ui/views/find_bar_view.cc
|
| +++ b/chrome/browser/ui/views/find_bar_view.cc
|
| @@ -186,7 +186,7 @@ void FindBarView::UpdateForResult(const FindNotificationDetails& result,
|
| // update the text only when the IME is not composing text.
|
| if (find_text_->text() != find_text && !find_text_->IsIMEComposing()) {
|
| find_text_->SetText(find_text);
|
| - find_text_->SelectAll();
|
| + find_text_->SelectAll(true);
|
| }
|
|
|
| if (find_text.empty() || !have_valid_range) {
|
| @@ -220,7 +220,7 @@ void FindBarView::ClearMatchCount() {
|
| void FindBarView::SetFocusAndSelection(bool select_all) {
|
| find_text_->RequestFocus();
|
| if (select_all && !find_text_->text().empty())
|
| - find_text_->SelectAll();
|
| + find_text_->SelectAll(true);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
| @@ -478,7 +478,7 @@ void FindBarView::SearchTextfieldView::RequestFocus() {
|
| if (HasFocus())
|
| return;
|
| views::View::RequestFocus();
|
| - SelectAll();
|
| + SelectAll(true);
|
| }
|
|
|
| FindBarHost* FindBarView::find_bar_host() const {
|
|
|