summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-17 02:07:59 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-17 02:07:59 +0000
commitdce730aba66fca3b63458a483bb60eeb716f2a79 (patch)
tree52143ebcf5ca44e384f428c739ad9f673ebec982 /chrome/browser/importer
parent5b0c348ecc85d08ac03e171b6d3ce2fc4e687fc1 (diff)
downloadchromium_src-dce730aba66fca3b63458a483bb60eeb716f2a79.zip
chromium_src-dce730aba66fca3b63458a483bb60eeb716f2a79.tar.gz
chromium_src-dce730aba66fca3b63458a483bb60eeb716f2a79.tar.bz2
Fix importer host to bring up the browser window with the correct profile.
BUG=86361 TEST=toolbar importer tests work. Review URL: http://codereview.chromium.org/7184025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r--chrome/browser/importer/importer_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/importer/importer_host.cc b/chrome/browser/importer/importer_host.cc
index 07a8166..101fc7b 100644
--- a/chrome/browser/importer/importer_host.cc
+++ b/chrome/browser/importer/importer_host.cc
@@ -140,7 +140,7 @@ void ImporterHost::StartImportSettings(
MB_OK | MB_TOPMOST);
GURL url("https://www.google.com/accounts/ServiceLogin");
- BrowserList::GetLastActive()->AddSelectedTabWithURL(
+ BrowserList::GetLastActiveWithProfile(profile_)->AddSelectedTabWithURL(
url, PageTransition::TYPED);
MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(