Index: chrome/browser/supervised_user/supervised_user_service_browsertest.cc |
diff --git a/chrome/browser/supervised_user/supervised_user_service_browsertest.cc b/chrome/browser/supervised_user/supervised_user_service_browsertest.cc |
index a1b4e31fde47e0875a64c63718401a6838abae9f..1b7ac01ccd805ebd68d8426d73cc13f27d57d026 100644 |
--- a/chrome/browser/supervised_user/supervised_user_service_browsertest.cc |
+++ b/chrome/browser/supervised_user/supervised_user_service_browsertest.cc |
@@ -131,7 +131,7 @@ IN_PROC_BROWSER_TEST_F(SupervisedUserServiceTestSupervised, ProfileName) { |
std::string name = "Supervised User Test Name"; |
settings->SetLocalSetting( |
supervised_users::kUserName, |
- std::unique_ptr<base::Value>(new base::StringValue(name))); |
+ std::unique_ptr<base::Value>(new base::Value(name))); |
EXPECT_FALSE(prefs->IsUserModifiablePreference(prefs::kProfileName)); |
EXPECT_EQ(name, prefs->GetString(prefs::kProfileName)); |
@@ -145,7 +145,7 @@ IN_PROC_BROWSER_TEST_F(SupervisedUserServiceTestSupervised, ProfileName) { |
std::string new_name = "New Supervised User Test Name"; |
settings->SetLocalSetting( |
supervised_users::kUserName, |
- std::unique_ptr<base::Value>(new base::StringValue(new_name))); |
+ std::unique_ptr<base::Value>(new base::Value(new_name))); |
EXPECT_EQ(new_name, prefs->GetString(prefs::kProfileName)); |
EXPECT_EQ(new_name, base::UTF16ToUTF8(entry->GetName())); |