| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 8887a3dd1ac3e86347b1e38ce81d5d8d7f304b94..4eab5a8bc989a176fac7c922c5888b6d3aeae67c 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -5698,13 +5698,12 @@ void RenderFrameImpl::OnFind(int request_id,
|
| if (options.findNext) {
|
| // Just navigate back/forward.
|
| plugin->selectFindResult(options.forward, request_id);
|
| - } else {
|
| - if (!plugin->startFind(WebString::fromUTF16(search_text),
|
| - options.matchCase, request_id)) {
|
| - // Send "no results".
|
| - SendFindReply(request_id, 0 /* match_count */, 0 /* ordinal */,
|
| - gfx::Rect(), true /* final_status_update */);
|
| - }
|
| + render_view_->webview()->setFocusedFrame(frame_);
|
| + } else if (!plugin->startFind(WebString::fromUTF16(search_text),
|
| + options.matchCase, request_id)) {
|
| + // Send "no results".
|
| + SendFindReply(request_id, 0 /* match_count */, 0 /* ordinal */,
|
| + gfx::Rect(), true /* final_status_update */);
|
| }
|
| return;
|
| }
|
|
|