diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 06:44:39 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 06:44:39 +0000 |
commit | 5a4940befecc4e2c5e73ade51683ced6b2247ee6 (patch) | |
tree | f198619bbca9cc404ae1270866d779b32dc1c3cb /chrome/browser/profile_manager.cc | |
parent | 53761253f5a95f72bbd2bf5acaf91a0cbe6a55f7 (diff) | |
download | chromium_src-5a4940befecc4e2c5e73ade51683ced6b2247ee6.zip chromium_src-5a4940befecc4e2c5e73ade51683ced6b2247ee6.tar.gz chromium_src-5a4940befecc4e2c5e73ade51683ced6b2247ee6.tar.bz2 |
honor index in createTab()
BUG=11200
R=brettw,beng
Review URL: http://codereview.chromium.org/99300
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_manager.cc')
-rw-r--r-- | chrome/browser/profile_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/profile_manager.cc b/chrome/browser/profile_manager.cc index 26650cc..ae95ec9 100644 --- a/chrome/browser/profile_manager.cc +++ b/chrome/browser/profile_manager.cc @@ -133,7 +133,8 @@ Profile* ProfileManager::AddProfileByPath(const FilePath& path) { void ProfileManager::NewWindowWithProfile(Profile* profile) { DCHECK(profile); Browser* browser = Browser::Create(profile); - browser->AddTabWithURL(GURL(), GURL(), PageTransition::TYPED, true, -1, NULL); + browser->AddTabWithURL(GURL(), GURL(), PageTransition::TYPED, true, -1, + false, NULL); browser->window()->Show(); } |