Index: chrome/browser/ui/startup/startup_browser_creator.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc |
index 0efc97a349d8a42b2d2ff9de13beeb57e6da40d6..3e48a63df9c8b7b5e2fe583441020df022c66465 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc |
@@ -71,7 +71,6 @@ |
#include "components/prefs/pref_registry_simple.h" |
#include "components/prefs/pref_service.h" |
#include "components/search_engines/util.h" |
-#include "components/signin/core/common/profile_management_switches.h" |
#include "components/url_formatter/url_fixer.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/child_process_security_policy.h" |
@@ -964,8 +963,7 @@ Profile* GetStartupProfile(const base::FilePath& user_data_dir, |
auto* storage = &profile_manager->GetProfileAttributesStorage(); |
ProfileAttributesEntry* entry; |
bool has_entry = storage->GetProfileAttributesWithPath(profile_path, &entry); |
- if (has_entry && (!switches::IsNewProfileManagement() || |
- !entry->IsSigninRequired() || !profile)) { |
+ if (has_entry && (!entry->IsSigninRequired() || !profile)) { |
return profile; |
} |