summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 23:39:20 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 23:39:20 +0000
commit8abcab400b5a1bf486bdaa7d8d77b94dfc0f0bc9 (patch)
tree0e287f4625c5e511372b63b0cf774f9354e83e17 /chrome/browser/sessions
parent3244d1f880a132681a190d9096aeeea85bfcbf19 (diff)
downloadchromium_src-8abcab400b5a1bf486bdaa7d8d77b94dfc0f0bc9.zip
chromium_src-8abcab400b5a1bf486bdaa7d8d77b94dfc0f0bc9.tar.gz
chromium_src-8abcab400b5a1bf486bdaa7d8d77b94dfc0f0bc9.tar.bz2
Reverting 10400.
Reverting broke the linux build Review URL: http://codereview.chromium.org/27178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions')
-rw-r--r--chrome/browser/sessions/session_restore.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index bff9a74..ced5e90 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -359,9 +359,6 @@ 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.
- browser->GetSelectedTabContents()->SetInitialFocus();
}
void AppendURLsToBrowser(Browser* browser, const std::vector<GURL>& urls) {