| Index: components/policy/core/common/mac_util.cc
|
| diff --git a/components/policy/core/common/mac_util.cc b/components/policy/core/common/mac_util.cc
|
| index 2c477e0031ba2983dfc880e0e02c876c80c474c0..a47dd4ed42bc5732f023ee9372b8d939e9b56e10 100644
|
| --- a/components/policy/core/common/mac_util.cc
|
| +++ b/components/policy/core/common/mac_util.cc
|
| @@ -49,7 +49,7 @@ std::unique_ptr<base::Value> PropertyToValue(CFPropertyListRef property) {
|
| return base::Value::CreateNullValue();
|
|
|
| if (CFBooleanRef boolean = CFCast<CFBooleanRef>(property)) {
|
| - return std::unique_ptr<base::Value>(new base::FundamentalValue(
|
| + return std::unique_ptr<base::Value>(new base::Value(
|
| static_cast<bool>(CFBooleanGetValue(boolean))));
|
| }
|
|
|
| @@ -60,13 +60,13 @@ std::unique_ptr<base::Value> PropertyToValue(CFPropertyListRef property) {
|
| double double_value = 0.0;
|
| if (CFNumberGetValue(number, kCFNumberDoubleType, &double_value)) {
|
| return std::unique_ptr<base::Value>(
|
| - new base::FundamentalValue(double_value));
|
| + new base::Value(double_value));
|
| }
|
| } else {
|
| int int_value = 0;
|
| if (CFNumberGetValue(number, kCFNumberIntType, &int_value)) {
|
| return std::unique_ptr<base::Value>(
|
| - new base::FundamentalValue(int_value));
|
| + new base::Value(int_value));
|
| }
|
| }
|
| }
|
|
|