| 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 36f50716560062b55574916f93fc1f774ad5e4de..8c8a617749688cb228c95e65820d5ba5df3df085 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
|
| @@ -218,7 +218,7 @@ void TabContentsViewViews::RestoreFocus() {
|
| // If you hit this DCHECK, please report it to Jay (jcampan).
|
| DCHECK(focus_manager != NULL) << "No focus manager when restoring focus.";
|
|
|
| - if (last_focused_view->IsFocusableInRootView() && focus_manager &&
|
| + if (last_focused_view->IsFocusable() && focus_manager &&
|
| focus_manager->ContainsView(last_focused_view)) {
|
| last_focused_view->RequestFocus();
|
| } else {
|
|
|