Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Unified Diff: chrome/browser/ui/views/find_bar_view.cc

Issue 14295003: Re-enable a few find in page tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Leave last test disabled Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 28bb7ddb812558444627fc738b38f66dd92be2c8..135673ec6b167a848728f3d2f80bd6a8bcdd1c97 100644
--- a/chrome/browser/ui/views/find_bar_view.cc
+++ b/chrome/browser/ui/views/find_bar_view.cc
@@ -192,7 +192,7 @@ void FindBarView::UpdateForResult(const FindNotificationDetails& result,
// composed by them. To avoid this problem, we should check the IME status and
// 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);
+ SetFindText(find_text);
Finnur 2013/04/18 14:49:11 This is really just so that we have a single choke
find_text_->SelectAll(true);
}

Powered by Google App Engine
This is Rietveld 408576698