Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 102130) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -1150,6 +1150,14 @@ |
bool final_update) { |
delegate()->FindReply(this, request_id, number_of_matches, selection_rect, |
active_match_ordinal, final_update); |
+ // Send a notification to the renderer that we are ready to receive more |
+ // results from the scoping effort of the Find operation. The FindInPage |
+ // scoping is asynchronous and periodically sends results back up to the |
+ // browser using IPC. In an effort to not spam the browser we have the |
+ // browser send an ACK for each FindReply message and have the renderer |
+ // queue up the latest status message while waiting for this ACK. |
+ render_view_host()->Send( |
+ new ViewMsg_FindReplyACK(render_view_host()->routing_id())); |
} |
void TabContents::OnCrashedPlugin(const FilePath& plugin_path) { |