diff options
Diffstat (limited to 'chrome/test/base/testing_profile_manager.cc')
| -rw-r--r-- | chrome/test/base/testing_profile_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/base/testing_profile_manager.cc b/chrome/test/base/testing_profile_manager.cc index 1f36331..0271c18 100644 --- a/chrome/test/base/testing_profile_manager.cc +++ b/chrome/test/base/testing_profile_manager.cc @@ -87,6 +87,7 @@ TestingProfile* TestingProfileManager::CreateTestingProfile( builder.SetPath(profile_path); builder.SetPrefService(std::move(prefs)); builder.SetSupervisedUserId(supervised_user_id); + builder.SetProfileName(profile_name); for (TestingProfile::TestingFactories::const_iterator it = factories.begin(); it != factories.end(); ++it) { @@ -94,7 +95,6 @@ TestingProfile* TestingProfileManager::CreateTestingProfile( } TestingProfile* profile = builder.Build().release(); - profile->set_profile_name(profile_name); profile_manager_->AddProfile(profile); // Takes ownership. // Update the user metadata. |
