| Index: chrome/browser/ui/views/find_bar_host.cc
|
| diff --git a/chrome/browser/ui/views/find_bar_host.cc b/chrome/browser/ui/views/find_bar_host.cc
|
| index 283d963c919ac76b1c404f675c0288fadc9a01ee..a3fde9eca25b946edf4291784778e5368a86d8ea 100644
|
| --- a/chrome/browser/ui/views/find_bar_host.cc
|
| +++ b/chrome/browser/ui/views/find_bar_host.cc
|
| @@ -141,12 +141,10 @@ gfx::Range FindBarHost::GetSelectedRange() {
|
|
|
| void FindBarHost::UpdateUIForFindResult(const FindNotificationDetails& result,
|
| const base::string16& find_text) {
|
| - // Make sure match count is clear. It may get set again in UpdateForResult
|
| - // if enough data is available.
|
| - find_bar_view()->ClearMatchCount();
|
| -
|
| if (!find_text.empty())
|
| find_bar_view()->UpdateForResult(result, find_text);
|
| + else
|
| + find_bar_view()->ClearMatchCount();
|
|
|
| // We now need to check if the window is obscuring the search results.
|
| MoveWindowIfNecessary(result.selection_rect());
|
|
|