| Index: chrome/browser/ui/browser_tabrestore.cc
|
| diff --git a/chrome/browser/ui/browser_tabrestore.cc b/chrome/browser/ui/browser_tabrestore.cc
|
| index 1fa8d7e32628c3539e4e4e761a02832b85c5a28b..5bb6d635555fdd9e9ef39c8c4ba0adc79dcd4f16 100644
|
| --- a/chrome/browser/ui/browser_tabrestore.cc
|
| +++ b/chrome/browser/ui/browser_tabrestore.cc
|
| @@ -129,7 +129,11 @@ content::WebContents* AddRestoredTab(
|
| if (size.IsEmpty())
|
| size = browser->window()->GetRestoredBounds().size();
|
| ResizeWebContents(web_contents, size);
|
| - web_contents->WasHidden();
|
| +
|
| + // CreateRestoredTab() would have passed the correct |initially_hidden| via
|
| + // the WebContents::CreateParams, so this line shouldn't be necessary.
|
| + // TODO(tapted): Delete this line and see what breaks.
|
| + web_contents->MarkBackgrounded();
|
| }
|
| SessionService* session_service =
|
| SessionServiceFactory::GetForProfileIfExisting(browser->profile());
|
|
|