diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 18:01:28 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 18:01:28 +0000 |
commit | 897bd8cbf71370ec7a57446bc27e858336682632 (patch) | |
tree | 5a345eb5b987d81cee013d7a728f89a54700b890 | |
parent | e76446d6626a9696c5f5ae74274bcea34d776f84 (diff) | |
download | chromium_src-897bd8cbf71370ec7a57446bc27e858336682632.zip chromium_src-897bd8cbf71370ec7a57446bc27e858336682632.tar.gz chromium_src-897bd8cbf71370ec7a57446bc27e858336682632.tar.bz2 |
Fixes regression the resulted in not showing window after doing a tab
restore in some situations.
BUG=51255
TEST=create a new window with one tab, press control-w to close the
window, restore the window by way of control-shift-t and make sure you
can see the window.
Review URL: http://codereview.chromium.org/3091012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55261 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/sessions/tab_restore_service.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/sessions/tab_restore_service.cc b/chrome/browser/sessions/tab_restore_service.cc index 720f3ae..116f819 100644 --- a/chrome/browser/sessions/tab_restore_service.cc +++ b/chrome/browser/sessions/tab_restore_service.cc @@ -318,6 +318,7 @@ void TabRestoreService::RestoreEntryById(Browser* browser, if (entry->type == TAB) { Tab* tab = static_cast<Tab*>(entry); browser = RestoreTab(*tab, browser, replace_existing_tab); + browser->window()->Show(); } else if (entry->type == WINDOW) { Browser* current_browser = browser; Window* window = static_cast<Window*>(entry); |