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 7a00bcb972744a0650897d9b1249acd44a99eb74..d85110a0871b2c8b51ddb83ad0f33847f00cfb78 100644 |
--- a/chrome/browser/ui/views/find_bar_host.cc |
+++ b/chrome/browser/ui/views/find_bar_host.cc |
@@ -159,7 +159,7 @@ bool FindBarHost::IsFindBarVisible() { |
void FindBarHost::RestoreSavedFocus() { |
if (focus_tracker() == NULL) { |
// TODO(brettw): Focus() should be on WebContentsView. |
- find_bar_controller_->web_contents()->Focus(); |
+ find_bar_controller_->web_contents()->GetView()->Focus(); |
} else { |
focus_tracker()->FocusLastFocusedExternalView(); |
} |