summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/first_run_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/first_run_view.cc')
-rw-r--r--chrome/browser/views/first_run_view.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/first_run_view.cc b/chrome/browser/views/first_run_view.cc
index 0c94020..198e253 100644
--- a/chrome/browser/views/first_run_view.cc
+++ b/chrome/browser/views/first_run_view.cc
@@ -181,8 +181,9 @@ bool FirstRunView::Accept() {
if (default_browser_->checked())
SetDefaultBrowser();
// Index 0 is the default browser.
- FirstRun::ImportSettings(profile_, 0, GetDefaultImportItems(),
- window()->GetNativeWindow());
+ FirstRun::ImportSettings(profile_,
+ importer_host_->GetSourceProfileInfoAt(0).browser_type,
+ GetDefaultImportItems(), window()->GetNativeWindow());
UserMetrics::RecordAction(L"FirstRunDef_Accept", profile_);
return true;