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 0db631e5087c4ff4404849f3c1c410c67f617515..26fdbb3a737453730d759f9d136fbdc8b150693f 100644 |
--- a/components/policy/core/common/registry_dict.cc |
+++ b/components/policy/core/common/registry_dict.cc |
@@ -84,7 +84,7 @@ std::unique_ptr<base::Value> ConvertValue(const base::Value& value, |
(value.GetAsString(&string_value) && |
base::StringToInt(string_value, &int_value))) { |
return std::unique_ptr<base::Value>( |
- new base::FundamentalValue(int_value != 0)); |
+ new base::Value(int_value != 0)); |
} |
break; |
} |
@@ -93,7 +93,7 @@ std::unique_ptr<base::Value> ConvertValue(const base::Value& value, |
if (value.GetAsString(&string_value) && |
base::StringToInt(string_value, &int_value)) { |
return std::unique_ptr<base::Value>( |
- new base::FundamentalValue(int_value)); |
+ new base::Value(int_value)); |
} |
break; |
} |
@@ -104,7 +104,7 @@ std::unique_ptr<base::Value> ConvertValue(const base::Value& value, |
(value.GetAsString(&string_value) && |
base::StringToDouble(string_value, &double_value))) { |
return std::unique_ptr<base::Value>( |
- new base::FundamentalValue(double_value)); |
+ new base::Value(double_value)); |
} |
break; |
} |
@@ -275,7 +275,7 @@ void RegistryDict::ReadRegistry(HKEY hive, const base::string16& root) { |
else |
dword_value = base::ByteSwapToLE32(dword_value); |
SetValue(name, |
- std::unique_ptr<base::Value>(new base::FundamentalValue( |
+ std::unique_ptr<base::Value>(new base::Value( |
static_cast<int>(dword_value)))); |
continue; |
} |