| Index: components/policy/core/common/registry_dict_win.cc
|
| diff --git a/components/policy/core/common/registry_dict_win.cc b/components/policy/core/common/registry_dict_win.cc
|
| index 8e03fbc4f722f136739d4a4220f0746103c42914..143956d754c92713a114a98782df1626f0e45608 100644
|
| --- a/components/policy/core/common/registry_dict_win.cc
|
| +++ b/components/policy/core/common/registry_dict_win.cc
|
| @@ -79,8 +79,7 @@ scoped_ptr<base::Value> ConvertValue(const base::Value& value,
|
| // Integers may be string-encoded.
|
| if (value.GetAsString(&string_value) &&
|
| base::StringToInt(string_value, &int_value)) {
|
| - return scoped_ptr<base::Value>(
|
| - base::Value::CreateIntegerValue(int_value));
|
| + return scoped_ptr<base::Value>(new base::FundamentalValue(int_value));
|
| }
|
| break;
|
| }
|
| @@ -264,8 +263,8 @@ void RegistryDict::ReadRegistry(HKEY hive, const base::string16& root) {
|
| else
|
| dword_value = base::ByteSwapToLE32(dword_value);
|
| SetValue(name,
|
| - scoped_ptr<base::Value>(
|
| - base::Value::CreateIntegerValue(dword_value)));
|
| + scoped_ptr<base::Value>(new base::FundamentalValue(
|
| + static_cast<int>(dword_value))));
|
| continue;
|
| }
|
| case REG_NONE:
|
|
|