summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile_manager.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 21:09:58 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 21:09:58 +0000
commit22735af65d1f55a2eec8c95c1b87fe7f608a1dc6 (patch)
tree2dc5126911090a7c891515e20e9952a4f4a031f1 /chrome/browser/profile_manager.cc
parent12adfaa77882b5049465b2d32e16d23c1f349e2f (diff)
downloadchromium_src-22735af65d1f55a2eec8c95c1b87fe7f608a1dc6.zip
chromium_src-22735af65d1f55a2eec8c95c1b87fe7f608a1dc6.tar.gz
chromium_src-22735af65d1f55a2eec8c95c1b87fe7f608a1dc6.tar.bz2
Re-land popup routing fix for browser.
Just the bugfix + test now. Test is disabled pending a working framework. http://crbug.com/8472 Review URL: http://codereview.chromium.org/59007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_manager.cc')
-rw-r--r--chrome/browser/profile_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile_manager.cc b/chrome/browser/profile_manager.cc
index 407c39b..82d7192 100644
--- a/chrome/browser/profile_manager.cc
+++ b/chrome/browser/profile_manager.cc
@@ -139,7 +139,7 @@ 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, NULL);
+ browser->AddTabWithURL(GURL(), GURL(), PageTransition::TYPED, true, -1, NULL);
browser->window()->Show();
}