summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions')
-rw-r--r--chrome/browser/sessions/session_restore.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index bff9a74..b6db981 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -359,8 +359,8 @@ class SessionRestoreImpl : public NotificationObserver {
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();
}