diff options
Diffstat (limited to 'chrome/browser/ui/browser_commands.cc')
-rw-r--r-- | chrome/browser/ui/browser_commands.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc index a85c936..5565f1c 100644 --- a/chrome/browser/ui/browser_commands.cc +++ b/chrome/browser/ui/browser_commands.cc @@ -289,7 +289,8 @@ void NewEmptyWindow(Profile* profile, HostDesktopType desktop_type) { } else { content::RecordAction(UserMetricsAction("NewWindow")); SessionService* session_service = - SessionServiceFactory::GetForProfile(profile->GetOriginalProfile()); + SessionServiceFactory::GetForProfileForSessionRestore( + profile->GetOriginalProfile()); if (!session_service || !session_service->RestoreIfNecessary(std::vector<GURL>())) { OpenEmptyWindow(profile->GetOriginalProfile(), desktop_type); |