Index: chrome/browser/ui/find_bar/find_tab_helper.cc |
=================================================================== |
--- chrome/browser/ui/find_bar/find_tab_helper.cc (revision 99261) |
+++ chrome/browser/ui/find_bar/find_tab_helper.cc (working copy) |
@@ -124,20 +124,11 @@ |
tab_contents()->render_view_host()->routing_id(), params)); |
} |
-bool FindTabHelper::OnMessageReceived(const IPC::Message& message) { |
- bool handled = true; |
- IPC_BEGIN_MESSAGE_MAP(FindTabHelper, message) |
- IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply) |
- IPC_MESSAGE_UNHANDLED(handled = false) |
- IPC_END_MESSAGE_MAP() |
- return handled; |
-} |
- |
-void FindTabHelper::OnFindReply(int request_id, |
- int number_of_matches, |
- const gfx::Rect& selection_rect, |
- int active_match_ordinal, |
- bool final_update) { |
+void FindTabHelper::HandleFindReply(int request_id, |
+ int number_of_matches, |
+ const gfx::Rect& selection_rect, |
+ int active_match_ordinal, |
+ bool final_update) { |
// Ignore responses for requests that have been aborted. |
// Ignore responses for requests other than the one we have most recently |
// issued. That way we won't act on stale results when the user has |