Index: chrome/browser/sessions/session_restore.cc |
=================================================================== |
--- chrome/browser/sessions/session_restore.cc (revision 10488) |
+++ chrome/browser/sessions/session_restore.cc (working copy) |
@@ -359,8 +359,8 @@ |
std::min(initial_tab_count + std::max(0, selected_session_index), |
browser->tab_count() - 1), true); |
browser->window()->Show(); |
- // Showing the browser focuses the location bar, let the tab decide where |
- // it wants the focus to be. |
+ // TODO(jcampan): http://crbug.com/8123 we should not need to set the |
+ // initial focus explicitly. |
browser->GetSelectedTabContents()->SetInitialFocus(); |
} |