| Index: chrome/browser/ui/views/find_bar_host.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/find_bar_host.cc (revision 101850)
|
| +++ chrome/browser/ui/views/find_bar_host.cc (working copy)
|
| @@ -15,7 +15,6 @@
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/browser/tab_contents/tab_contents_view.h"
|
| -#include "content/common/view_messages.h"
|
| #include "ui/base/keycodes/keyboard_codes.h"
|
| #include "views/focus/external_focus_tracker.h"
|
| #include "views/focus/view_storage.h"
|
| @@ -74,8 +73,7 @@
|
|
|
| // Make sure we don't have a text field element interfering with keyboard
|
| // input. Otherwise Up and Down arrow key strokes get eaten. "Nom Nom Nom".
|
| - render_view_host->Send(
|
| - new ViewMsg_ClearFocusedNode(render_view_host->routing_id()));
|
| + render_view_host->ClearFocusedNode();
|
| NativeWebKeyboardEvent event = GetKeyboardEvent(contents->tab_contents(),
|
| key_event);
|
| render_view_host->ForwardKeyboardEvent(event);
|
|
|