| Index: components/policy/core/common/registry_dict.cc
|
| diff --git a/components/policy/core/common/registry_dict.cc b/components/policy/core/common/registry_dict.cc
|
| index 86e682493ee9775d44a5ece4f033bc0675d5494c..29c9df73133d7ec59a75f9a95b936961b18a4f2e 100644
|
| --- a/components/policy/core/common/registry_dict.cc
|
| +++ b/components/policy/core/common/registry_dict.cc
|
| @@ -260,8 +260,8 @@ void RegistryDict::ReadRegistry(HKEY hive, const base::string16& root) {
|
| switch (it.Type()) {
|
| case REG_SZ:
|
| case REG_EXPAND_SZ:
|
| - SetValue(name, std::unique_ptr<base::Value>(new base::StringValue(
|
| - base::UTF16ToUTF8(it.Value()))));
|
| + SetValue(name, std::unique_ptr<base::Value>(
|
| + new base::Value(base::UTF16ToUTF8(it.Value()))));
|
| continue;
|
| case REG_DWORD_LITTLE_ENDIAN:
|
| case REG_DWORD_BIG_ENDIAN:
|
|
|