| Index: chrome/browser/chrome_browser_main.cc
|
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
| index 23afa139b440f8397e13f73977e91e302f806f8c..0ee7a1aaa0ede993e5018fc914eaeb161b4dfea7 100644
|
| --- a/chrome/browser/chrome_browser_main.cc
|
| +++ b/chrome/browser/chrome_browser_main.cc
|
| @@ -1769,8 +1769,10 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
| // We are in regular browser boot sequence. Open initial tabs and enter the
|
| // main message loop.
|
| int result_code;
|
| - if (browser_init_->Start(parsed_command_line(), FilePath(), profile_,
|
| - &result_code)) {
|
| + std::vector<Profile*> last_opened_profiles =
|
| + g_browser_process->profile_manager()->GetLastOpenedProfiles();
|
| + if (browser_init_->Start(parsed_command_line(), FilePath(),
|
| + profile_, last_opened_profiles, &result_code)) {
|
| #if defined(OS_WIN) || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
|
| // Initialize autoupdate timer. Timer callback costs basically nothing
|
| // when browser is not in persistent mode, so it's OK to let it ride on
|
|
|