Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index d6f90641522bfb7dc51335a89ea59bd18dd8ec5b..637c851a8bdeab0335340ce428d03907443dbd4a 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -430,7 +430,7 @@ Profile* CreatePrimaryProfile(const content::MainFunctionParams& parameters, |
// automatically. |
DCHECK_EQ(user_data_dir.value(), |
g_browser_process->profile_manager()->user_data_dir().value()); |
- profile = ProfileManager::GetActiveUserProfile(); |
+ profile = ProfileManager::CreateInitialProfile(); |
// TODO(port): fix this. See comments near the definition of |user_data_dir|. |
// It is better to CHECK-fail here than it is to silently exit because of |