Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1410)

Unified Diff: chrome/browser/sessions/session_restore.cc

Issue 292713003: Session restore shouldn't care about profile home pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable 2 tests on mac (they fail after "fixed") Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_tab_util.cc ('k') | chrome/browser/signin/signin_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_restore.cc
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index 7cca291c9b3881de619289ab8c46ae5f6096b0a1..fd0271eb3efd36d498e31d9d8a2d5fb206178bdb 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -709,9 +709,8 @@ class SessionRestoreImpl : public content::NotificationObserver {
host_desktop_type_));
if (urls_to_open_.empty()) {
// No tab browsers were created and no URLs were supplied on the command
- // line. Add an empty URL, which is treated as opening the users home
- // page.
- urls_to_open_.push_back(GURL());
+ // line. Open the new tab page.
+ urls_to_open_.push_back(GURL(chrome::kChromeUINewTabURL));
}
AppendURLsToBrowser(browser, urls_to_open_);
browser->window()->Show();
« no previous file with comments | « chrome/browser/extensions/extension_tab_util.cc ('k') | chrome/browser/signin/signin_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698