| Index: chrome/browser/views/location_bar_view.cc
|
| diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc
|
| index 0723d165be9b04d1ed425c76f53edd666bb1591a..fb5ca9f3d501dc72064c44b2cfc7b2ccc96d45de 100644
|
| --- a/chrome/browser/views/location_bar_view.cc
|
| +++ b/chrome/browser/views/location_bar_view.cc
|
| @@ -289,11 +289,8 @@ void LocationBarView::InvalidatePageActions() {
|
| }
|
|
|
| void LocationBarView::Focus() {
|
| -#if defined(OS_WIN)
|
| - ::SetFocus(location_entry_->m_hWnd);
|
| -#else
|
| - gtk_widget_grab_focus(location_entry_->widget());
|
| -#endif
|
| + // Focus the location entry native view.
|
| + location_entry_->SetFocus();
|
| }
|
|
|
| void LocationBarView::SetProfile(Profile* profile) {
|
|
|