Index: chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
diff --git a/chrome/browser/component_updater/supervised_user_whitelist_installer.cc b/chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
index d0e79cc75ef8cf49232563042cf1ae2ad670a5f1..73e0a94e43e3dfa36f5ae86b4377ab7f79cd9359 100644 |
--- a/chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
+++ b/chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
@@ -439,7 +439,7 @@ bool SupervisedUserWhitelistInstallerImpl::UnregisterWhitelistInternal( |
base::ListValue* clients = nullptr; |
success = whitelist_dict->GetList(kClients, &clients); |
- const bool removed = clients->Remove(base::StringValue(client_id), nullptr); |
+ const bool removed = clients->Remove(base::Value(client_id), nullptr); |
if (!clients->empty()) |
return removed; |
@@ -549,8 +549,8 @@ void SupervisedUserWhitelistInstallerImpl::RegisterWhitelist( |
clients = new base::ListValue; |
whitelist_dict->Set(kClients, clients); |
} |
- bool success = clients->AppendIfNotPresent( |
- base::MakeUnique<base::StringValue>(client_id)); |
+ bool success = |
+ clients->AppendIfNotPresent(base::MakeUnique<base::Value>(client_id)); |
DCHECK(success); |
} |