Index: chrome/browser/sessions/session_restore.cc |
=================================================================== |
--- chrome/browser/sessions/session_restore.cc (revision 10404) |
+++ chrome/browser/sessions/session_restore.cc (working copy) |
@@ -359,6 +359,9 @@ |
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. |
+ browser->GetSelectedTabContents()->SetInitialFocus(); |
} |
void AppendURLsToBrowser(Browser* browser, const std::vector<GURL>& urls) { |