| Index: chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| index ac91ccc972d7a65d099da563999ec393999f7846..5abdc073bb32204328473d51ff9c7042a9f5cf69 100644
|
| --- a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| +++ b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| @@ -161,7 +161,8 @@ void TabContentsViewViews::Focus() {
|
| }
|
|
|
| RenderWidgetHostView* rwhv = tab_contents()->GetRenderWidgetHostView();
|
| - gtk_widget_grab_focus(rwhv ? rwhv->GetNativeView() : GetNativeView());
|
| + if (rwhv)
|
| + rwhv->Focus();
|
| }
|
|
|
| void TabContentsViewViews::SetInitialFocus() {
|
|
|